Introduction
Here is the source code for Main.java
Source
public class Main {
public static void main(String[] args) {
double d1 = (45 * Math.PI) / 180, d2 = 0.0;
System.out.println("tangent value of d1 : " + StrictMath.tan(d1));
System.out.println("tangent value of d2 : " + StrictMath.tan(d2));
}
}