September 28, 2014 · 2 min read

**java.lang.Math** class comes with many methods to do simple basic numeric operations. One such one is **sqrt()** method which returns the **square root** of a number passed as parameter.

March 17, 2011 · 3 min read

**Introduction** The **java.lang.Math** class includes many methods with which many simple arithmetic operations can be done like finding the square root, rounding, trigonometric and logarithm functions. As these methods are defined as static, they can be used directly by the programmer without the trouble of creating an object. Following is the class signature as defined in the **java.lang** package.