cos function

float cos(x)

x float Angle in degrees.

Returns the cosine of x, i.e. a value in [-1, 1].

The cos function calculates the cosine of x, where x is given in degrees.

Related