Python | sympy.csc() method Last Updated : 17 Jul, 2019 Comments Improve Suggest changes Like Article Like Report 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 # import sympy from sympy import * # Use sympy.csc() method gfg = simplify(csc(pi / 3)) print(gfg) Output : 2*sqrt(3)/3 Example #2 : Python3 1=1 # import sympy from sympy import * # Use sympy.csc() method gfg = simplify(csc(pi / 4)) print(gfg) Output : sqrt(2) Comment More infoAdvertise with us Next Article Python | sympy.csc() method J Jitender_1998 Follow Improve Article Tags : Python SymPy Practice Tags : python Similar Reads Python | sympy.acsc() method With the help of sympy.acsc() method, we are able to find the value of cosine inverse using sympy.acsc() function. Syntax : sympy.acsc() Return : Return value of cosine inverse. Example #1 : In this example we can see that by using sympy.acsc() method, we can find the value of cosine inverse. Python 1 min read Python | sympy.cos() method In sympy, cos() method is cosine function. Using the cos(x) method in the sympy module, we can compute the cosine of x. Syntax : sympy.cos(x) Return : Returns the cosine of x Code #1: Below is the example using cos() method to find cosine function. Python3 # importing sympy library from sympy import 1 min read 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. Python3 1=1 # i 1 min read Python | sympy.lcm() method With the help of sympy.lcm() method, we can find the least common multiple of two numbers that is passed as a parameter in the sympy.lcm() method. Syntax : sympy.lcm(var1, var2) Return : Return value of least common multiple. Example #1 : In this example we can see that by using sympy.lcm() method, 1 min read Python | sympy.lcm() method The function lcm() provides the direct way to compute Least Common Multiple for polynomials.That is, for polynomials f and g, it computes LCM. Syntax: sympy.lcm(f, g) Return: LCM of given polynomials Example #1: Python3 1== # import sympy from sympy import * f = x * y**2 + x**2 * y g = x**2 * y**2 # 1 min read Like