This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.

Smartphone icons created by Freepik - Flaticon

JS Math.sin()

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

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

document.getElementById("demo").innerHTML = 
"The sine value of 90 degrees is " + Math.sin(90 * Math.PI / 180);