Parameters: This method accepts a single parameter as mentioned above and described below:
- value: Which is a number given in radians.
Return Value: The Math.sin() method returns the sine of the given numbers between 1 and -1.
Below is an example of the Math sin() Method.
When zero is passed as a parameter: 0
Example 2: When 1 is passed as a parameter.
Result : 0.8414709848078965
Example 3: When PI is passed as a parameter.
Result : 1
- Google Chrome 1 and above
- Internet Explorer 3 and above
- Firefox 1 and above
- Opera 3 and above
- Safari 1 and above