JavaScript Math.sin()

Math.sin(x) returns the sin of x (given in radians):

Angle in radians = (angle in degrees) * PI / 180.