Math.asin()

Math.asin() returns the arc sin value.
Syntax
Math.asin(input)
Note that all outputs are in the range -Math.PI/2 and +Math.PI/2.

Here are some examples.
System.out.println(Math.asin(2)); 	//NaN
System.out.println(Math.asin(1.01));	//NaN
System.out.println(Math.asin(1)); 	// 1.5707963267948966
System.out.println(Math.asin(-1));	//-1.5707963267948966
System.out.println(Math.asin(0)); 	//0.0
System.out.println(Math.PI/2);    	// 1.5707963267948966


All Math functions
Java


plus2net.com






We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
©2000-2025   plus2net.com   All rights reserved worldwide Privacy Policy Disclaimer