Python | sympy.asec() method Last Updated : 17 Jul, 2019 Summarize Comments Improve Suggest changes Share 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 Comment More infoAdvertise with us Next Article Python | sympy.asec() method J jitender_1998 Follow Improve Article Tags : Python SymPy Practice Tags : python Similar Reads Python | sympy.csc() method With the help of sympy.csc() method, we are able to find the value of cosine theta using sympy.csc() function. Syntax : sympy.csc() Return : Return value of cosine theta. Example #1 : In this example we can see that by using sympy.csc() method, we can find the value of cosine theta. Python3 1=1 # im 1 min read 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. Python3 1=1 # impor 1 min read Python | sympy.atoms() method With the help of sympy.atoms() method, we can extract the atomic values of the mathematical function like any numbers, symbols, iota and etc, by using sympy.atoms(). Syntax : sympy.atoms() Return : Return the atomic values from mathematical expression. Example #1 : In this example we can see that we 1 min read Python | sympy.gcd() method With the help of sympy.gcd() method, we can find the greatest common divisor of two numbers that is passed as a parameter in the sympy.gcd() method. Syntax : sympy.gcd(var1, var2) Return : Return value of greatest common divisor. Example #1 : In this example we can see that by using sympy.gcd() meth 1 min read Python | sympy.eye() method With the help of sympy.eye() method, we can find the identity matrix by using sympy.eye() method. Syntax : sympy.eye() Return : Return an identity matrix. Example #1 : In this example, we can see that by using sympy.eye() method, we are able to find identity matrix having dimension nxn, where n will 1 min read Like