Math.asin() returns the arc sin value.
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

Post your comments , suggestion , error , requirements etc here

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