Online Java Compiler By
JavaTpoint.com
public class AsinExample3 { public static void main(String[] args) { double a = 1.820; // value of a is greater than 1 so Output is NaN System.out.println(Math.asin(a)); } }
Output