Math.sqrt()

Returns the square root of input numbers .
Syntax
Math.sqrt(input_number)
Output is the square root of input number.
System.out.println(Math.sqrt(4));    //2.0
System.out.println(Math.sqrt(25));   //5.0
System.out.println(Math.sqrt(-144)); //NaN
System.out.println(Math.sqrt(129));  //11.357816691600547
System.out.println(Math.sqrt(75.65)); //8.697700845625814


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