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
valuefloat: the value whose arc sine is to be returned
Related sin()
acos()
atan()
Updated on Tue Jul 11 06:52:23 2017.
Creative Commons License