Python | sympy.asin() method
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.
from sympy import * x, y, z = symbols( 'x y z' )
gfg_exp = asin( 1 )
print (gfg_exp)
|
Output :
pi/2
Example #2 :
from sympy import * x, y, z = symbols( 'x y z' )
gfg_exp = asin( 1 / 2 )
print (gfg_exp)
|
Output :
0.523598775598299
Share your thoughts in the comments
Please Login to comment...