diff --git a/Triangle.java b/Triangle.java new file mode 100644 index 0000000..7829c17 --- /dev/null +++ b/Triangle.java @@ -0,0 +1,17 @@ + +public class Triangle { + + //Result in Radiant + public static double sin(double d){ + return Math.sin(d); + } + public static double tan(double d){ + return Math.tan(d); + } + public static double cos(double d){ + return Math.cos(d); + } + public static double cot(double d){ + return Math.atan(d); + } +}