Python | sympy.asin() method

With the help of sympy.asin(x) method, we are able to find the inverse of sine theta.
Syntax :
sympy.asin(x)
Return : Return the value of inverse sine theta.
Example #1 :
In the given example, we can see that by using sympy.asin(x) method, we can find the inverse of a sine theta.
# import sympy from sympy import * x, y, z = symbols('x y z') Â Â Â # Using sympy.asin() method gfg_exp = asin(1) Â Â Â print(gfg_exp) |
Output :
pi/2
Example #2 :
# import sympy from sympy import * x, y, z = symbols('x y z') Â Â Â # Using sympy.asin() method gfg_exp = asin(1 / 2) Â Â Â print(gfg_exp) |
Output :
0.523598775598299



