Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
public class Main { public static void main(String[] args) { System.out.println(Math.acos(0.64)); System.out.println(Math.acos(-0.4)); System.out.println(Math.acos(0)); System.out.println(Math.acos(1)); System.out.println(Math.acos(-1)); System.out.println(Math.acos(2)); } }
0.8762980611683406
1.9823131728623846
1.5707963267948966
0.0
3.141592653589793
NaN