Mega Code Archive
Categories
/
JavaScript Tutorial
/
Math
Math asin()
Syntax math.asin(num) The asin() method calculates and returns the arcsine of a number. The return value is -PI/2 and PI/2 in radians. If the return value is not within this range, 0 is returned.
This example calculates the arcsine of the entered number.
Enter Number:
The arcsin is: