Math.acos()

Math.acos() returns the arc cosine value.
Syntax
Math.acos(input)


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


All Math functions

Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com



    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-2022 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer