Thursday, July 4, 2024
HomeLanguagesPythonPython | sympy.asec() method

Python | sympy.asec() method

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.




# import sympy
from sympy import *
  
# Use sympy.asec() method
gfg = simplify(asec(1))
  
print(gfg)


Output :

0

Example #2 :




# import sympy
from sympy import *
  
# Use sympy.asec() method
gfg = simplify(0))
    
print(gfg)


Output :

oo

Thapelo Manthata
I’m a desktop support specialist transitioning into a SharePoint developer role by day and Software Engineering student by night. My superpowers include customer service, coding, the Microsoft office 365 suite including SharePoint and power platform.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments