MATH FUNCTIONS IN JAVA:
[Link] [Link]() function returns the absolute value of the parameter passed to it.
2. The [Link]() function rounds a floating point value up to the nearest integer value.
3. The [Link]() function rounds a floating point value down to the nearest integer value.
4. The [Link]() method divides one integer (int or long) by another, and rounds the result
down to the nearest integer value.
5. The [Link]() method returns the smallest of two values passed to it as parameter.
6. The [Link]() method returns the largest of two values passed to it as parameter.
7. The [Link]() method rounds a float or double to the nearest integer using normal math round
rules (either up or down).
8. The [Link]() method returns a random floating point number between 0 and 1.
9. The [Link]() function returns e (Euler's number) raised to the power of the value provided as
parameter.
10. The [Link]() method provides the logarithm of the given parameter.
11. he Math.log10 method works like the [Link]() method except is uses 10 as is base for calculating
the logarithm instead of e (Euler's Number).
12. The [Link]() function takes two parameters. The method returns the value of the first parameter
raised to the power of the second parameter.
13. he [Link]() method calculates the square root of the parameter given to it.
14. The [Link] constant is a double with a value that is very close to the value of PI - the mathematical
definition of PI.
15. The [Link]() method calculates the sine value of some angle value in radians.
16. he [Link]() method calculates the cosine value of some angle value in radians.
17. The [Link]() method calculates the tangens value of some angle value in radians.
18. The [Link]() method calculates the arc sine value of a value between 1 and -1.
19. The [Link]() method calculates the arc cosine value of a value between 1 and -1.
20. The [Link]() method calculates the arc tangens value of a value between 1 and -1.
21. The [Link]() method calculates the hyperbolic sine value of a value between 1 and -1.
22. The [Link]() method calculates the hyperbolic cosine value of a value between 1 and -1.
23. The [Link]() method calculates the hyperbolic tangens value of a value between 1 and -1.
24. The [Link]() method converts an angle in radians to degrees.