Java Math.sin() method The java.lang.Math.sin() is used to return the trigonometric sine of an angle. This method returns value between -1 to…
avg
-
-
Java Math.sinh() method The java.lang.Math.sinh() is used to return the hyperbolic sine of a value. The hyperbolic sine of any value x…
-
Java Math.sqrt() method The java.lang.Math.sqrt() is used to return the square root of a number. Syntax public static double sqrt(double x) Parameter…
-
Java Math.subtractExact() method The java.lang.Math.subtractExact() returns the difference of the arguments. It will throw an exception if the result overflows either int…
-
Java Math.tan() method The java.lang.Math.tan() is used to return the trigonometric tangent of an angle. Syntax public static double tan(double a) Parameter…
-
Java Math.tanh() method The java.lang.Math.tanh() is used to return the hyperbolic tangent of a value. The hyperbolic tangent of any value x…
-
Java Math.toDegrees() method The java.lang.Math.toDegrees() is a built-in math function in java which is used to convert an angle measured in radians…
-
Java Math.toIntExact() method The java.lang.Math.toIntExact() returns the value of long argument. It will throw an exception if the result overflows either int…
-
Java Math.nextAfter() method The java.lang.Math.nextAfter() returns the floating-point number adjacent to the first argument in the direction of the second argument. If…
-
Java Math.toRadians() method The java.lang.Math.toRadians() is a built-in math function in java which is used to convert an angle measured in degrees…