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
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