Home >>Python math Module >Python math.asin() Method
Python math.asin() Method in python is used to returns the arc sine value in radians of the given number an accepts number between -1 to 1.
Syntax:math.asin(x)
Parameter | Description |
---|---|
x | It is required that a number to find the arc sine of and it returns a TypeError |
import math
print (math.asin(0.17))
print (math.asin(-0.17))
print (math.asin(0))
print (math.asin(2))
print (math.asin(-2))
import math
a = -1
print("asin(",a,") is = ", math.asin(a))
a = 0
print("asin(",a,") is = ", math.asin(a))
a = 0.154
print("asin(",a,") is = ", math.asin(a))
a = 1
print("asin(",a,") is = ", math.asin(a))