sin function

float sin(x)

x float Angle in degrees.

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

The sin function calculates the sine of x, where x is given in degrees.

Related