The math.cos()
function returns the cosine of a value given in radians.
math.cos(x)
Where x is t
he angle(in radians) whose cosine we want.
The function returns the cosine of the given number.
The math.radians() function takes takes an angle in degrees and returns its value in radians.
The range of values for the cosine of a number lies between -1 and 1.