Python | sympy.sqrt() method Last Updated : 12 Jun, 2019 Comments Improve Suggest changes Like Article Like Report With the help of sympy.sqrt() method, we can find the square root of any number by using sympy.sqrt() method. Syntax : sympy.sqrt(number) Return : Return square root of any number. Example #1 : In this example we can see that by using sympy.sqrt() method, we can get the square root of any number. Python3 1=1 # import sympy import sympy # Use sympy.sqrt() method num = sympy.sqrt(10) print(num) Output : sqrt(10) Example #2 : Python3 1=1 # import sympy import sympy # Use sympy.sqrt() method num = sympy.sqrt(36) print(num) Output : 6 Comment More infoAdvertise with us Next Article Python | sympy.sqrt() method J jitender_1998 Follow Improve Article Tags : Python SymPy Practice Tags : python Similar Reads Python | sympy.sin() method In sympy, the sin() method is a sine function. Using the sin(x) method in the sympy module, we can compute the sine of x. Syntax : sympy.sin(x) Return : Returns the sine of x Code #1: Below is the example using the sin() method to find the sine function. Python3 # importing sympy library from sympy 1 min read Python | sympy.sec() method With the help of sympy.sec() method, we are able to find the value of sec theta using sympy.sec() function. Syntax : sympy.sec() Return : Return value of sec theta. Example #1 : In this example we can see that by using sympy.sec() method, we can find the value of sec theta. Python3 1=1 # import symp 1 min read Python | sympy.Rational() method With the help of sympy.Rational() method, we can find the rational form of any float value that is passed as parameter in sympy.Rational() method. Syntax : sympy.Rational(val) Return : Return Rational form of float value. Example #1 : In this example we can see that by using sympy.Rational() method, 1 min read 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.Pow() method With the help of sympy.Pow() method, we can find a raised to the power of b where a and b are parameters to the method. Syntax: Pow(a, b) Parameter: a - It denotes an integer. b - It denotes an integer. Returns: Returns an integer which is equal to a raised to the power of b, i. e., a^b. Example #1: 1 min read Like