Wednesday, November 27, 2024
Google search engine
HomeLanguagesPython | sympy.asin() method

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

Dominic Rubhabha-Wardslaus
Dominic Rubhabha-Wardslaushttp://wardslaus.com
infosec,malicious & dos attacks generator, boot rom exploit philanthropist , wild hacker , game developer,
RELATED ARTICLES

Most Popular

Recent Comments