Python | sympy.asin() method (original) (raw)
Last Updated : 25 Jun, 2019
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.
Python3 1=1 `
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 :
Python3 1=1 `
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