sinbeginner// Sine of an angle in radians
Math.sin(0) // β 0
Math.sin(Math.PI / 2) // β 1Use Math.sin() to compute the sine of an angle in radians for trigonometry and wave simulations.
Returns the sine of a number (in radians).
Challenge: Verify that Math.sin(0) returns 0.