how to use advanced math in java
import java.lang.Math;
//This imports java's math library
public class Main {
public static void main(String args[]){
double sine = Math.sin(5);
System.out.println(sine);
//Outputs -0.9589242746631385
}
}