Math.atan() returns the arc cosine value.
Note that all outputs are in the range -Math.PI/2 and +Math.PI/2.

Here are some examples.
System.out.println(Math.atan(3)); 	//1.2490457723982544
System.out.println(Math.atan(1.01));	//0.7903732467283024
System.out.println(Math.atan(1)); 	// 0.7853981633974483
System.out.println(Math.atan(-1));	//-0.7853981633974483
System.out.println(Math.atan(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