Java Math.cos()

Java Math.cos() is a static method in the Java Math class that returns the cosine of an angle in radians. It is commonly used in trigonometric calculations, especially in physics, engineering, and computer graphics. Introduced in Java 1995 with Java 1.0, cos() is an essential function for many scientific and graphical applications that require the calculation of angles and rotations.

https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html