Python | sympy.ff() method Last Updated : 14 Jul, 2019 Comments Improve Suggest changes Like Article Like Report With the help of sympy.ff() method, we can find the Falling factorial. Falling factorial is defined by - ff(x, k) = x \cdot (x-1) \cdots (x-k+1) where x can be arbitrary expression and k is an integer. Syntax: ff(x, k) Parameter: x - It denotes any arbitrary expression. k - It denotes an integer. Returns: Returns falling factorial corresponding to the given inputs. Example #1: Python3 # import sympy from sympy import * x = symbols('x') k = 5 print("Value of x = {} and k = {}".format(x, k)) # Use sympy.ff() method ff_x_k = ff(x, k) print("Falling factorial ff(x, k) : {}".format(ff_x_k)) Output: Value of x = x and k = 5 Falling factorial ff(x, k) : x*(x - 4)*(x - 3)*(x - 2)*(x - 1) Example #2: Python3 # import sympy from sympy import * x = 7 k = 5 print("Value of x = {} and k = {}".format(x, k)) # Use sympy.ff() method ff_x_k = ff(x, k) print("Falling factorial ff(x, k) : {}".format(ff_x_k)) Output: Value of x = 7 and k = 5 Falling factorial ff(x, k) : 2520 Comment More infoAdvertise with us Next Article Python | sympy.ff() method R rupesh_rao Follow Improve Article Tags : Python SymPy Practice Tags : python Similar Reads 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 Python | sympy.evalf() method With the help of sympy.evalf() method, we are able to evaluate the mathematical expressions. Syntax : sympy.evalf() Return : Return the evaluated mathematical expression. Example #1 : In this example we can see that by using sympy.evalf() method, we are able to evaluate the mathematical expressions. 1 min read Python | sympy.Float() method With the help of sympy.Float() method, we can convert the integer values to floating point values and by using this method we can also set the values of precision. By default value of precision is 15. Syntax : sympy.Float() Return : Return the floating point number. Example #1 : In this example we c 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.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 Like