The cos() function calculates the trigonometric cosine of an angle of a specified numeric expression in the range 0 to 360 degrees.
cos(num.exp)
num.exp | Angle from 0 through 360 from which the trigonometric cosine is to be calculated. |
Values that are less than 0 or greater than 360 are adjusted using the integer division function: mod(angle, 360).