Open In App

Python | sympy.asec() method

Last Updated : 17 Jul, 2019
Comments
Improve
Suggest changes
Like Article
Like
Report
With the help of sympy.asec() method, we are able to find the value of sec inverse using sympy.asec() function.
Syntax : sympy.asec() Return : Return value of sec inverse.
Example #1 : In this example we can see that by using sympy.asec() method, we can find the value of sec inverse. Python3 1=1
# import sympy
from sympy import *

# Use sympy.asec() method
gfg = simplify(asec(1))

print(gfg)
Output :
0
Example #2 : Python3 1=1
# import sympy
from sympy import *

# Use sympy.asec() method
gfg = simplify(0))
  
print(gfg)
Output :
oo

Next Article
Article Tags :
Practice Tags :

Similar Reads