sympy.integrals.trigonometry.trigintegrate() in python Last Updated : 10 Jul, 2020 Summarize Comments Improve Suggest changes Share Like Article Like Report With the help of trigintegrate() method, we can compute the integral of a trigonometric functions using pattern matching and return the integrated function by using this method. Syntax : trigintegrate(f, x, conds='piecewise') Return : Return the integrated function Example #1 : In this example we can see that by using trigintegrate() method, we are able to get the integrated value of trigonometric function using pattern matching. Python3 # import trigintegrate from sympy import Symbol, sin, cos, tan, sec, csc, cot from sympy.integrals.trigonometry import trigintegrate from sympy.abc import x # Using trigintegrate() method gfg = trigintegrate(tan(x)/cos(x), x) print(gfg) Output : 1/cos(x) Example #2 : Python3 # import trigintegrate from sympy import Symbol, sin, cos, tan, sec, csc, cot from sympy.integrals.trigonometry import trigintegrate from sympy.abc import x # Using trigintegrate() method gfg = trigintegrate(tan(x)*cot(x), x) print(gfg) Output : x Comment More infoAdvertise with us Next Article sympy.integrals.trigonometry.trigintegrate() in python J jitender_1998 Follow Improve Article Tags : Python SymPy Python SymPy-Integral Practice Tags : python Similar Reads sympy.integrals.transforms.sine_transform() in python With the help of sine_transform() method, we can compute the sine transformation by getting the transformed function by using this method. Sine transformation Syntax : sine_transform(f, x, k, **hints) Return : Return the transformed function. Example #1 : In this example we can see that by using sin 1 min read sympy.integrals.transforms.inverse_cosine_transform() in Python With the help of inverse_cosine_transform() method, we can compute the inverse cosine transformation and return the unevaluated function by using this method. inverse cosine function Syntax : inverse_cosine_transform(F, k, x, **hints) Return : Return the unevaluated function. Example #1 : In this ex 1 min read Python | sympy.integrate() using limits With the help of sympy.integrate(expression, limit) method, we can find the integration of mathematical expressions using limits in the form of variables by using sympy.integrate(expression, limit) method. Syntax : sympy.integrate(expression, reference variable, limit) Return : Return integration of 1 min read Python | sympy.Integral() method With the help of sympy.Integral() method, we can create an unevaluated integral of a SymPy expression. It has the same syntax as integrate() method. To evaluate an unevaluated integral, use the doit() method. Syntax: Integral(expression, reference variable) Parameters: expression - A SymPy expressio 2 min read Monte Carlo integration in Python Monte Carlo Integration is a process of solving integrals having numerous values to integrate upon. The Monte Carlo process uses the theory of large numbers and random sampling to approximate values that are very close to the actual solution of the integral. It works on the average of a function den 8 min read Like