Name | asin() |
||
---|---|---|---|
Examples |
a = PI/3 s = sin(a) arcsin = asin(s) # Prints "1.0471976 : 0.86602545 : 1.0471976" print("%.7f : %.8f : %.7f" % (a, s, arcsin)) a = PI + PI/3.0 s = sin(a) arcsin = asin(s) # Prints "4.1887903 : -0.86602545 : -1.0471976" print("%.7f : %.8f : %.7f" % (a, s, arcsin)) | ||
Description | The inverse of sin(), returns the arc sine of a value. This function expects the values in the range of -1 to 1 and values are returned in the range -PI/2 to PI/2. | ||
Syntax | asin(value) | ||
Parameters |
| ||
Related |
sin() acos() atan() |
Updated on Tue Feb 27 14:07:12 2024.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License