sympy.integrals.transforms.cosine_transform() in python Last Updated : 10 Jul, 2020 Summarize Comments Improve Suggest changes Share Like Article Like Report With the help of cosine_transform() method, we can compute the cosine transformation and return the transformed function by using this method. cosine transformation Syntax : cosine_transform(f, x, k, **hints) Return : Return the transformed function. Example #1 : In this example we can see that by using cosine_transform() method, we are able to compute the cosine transformation and return the transformed function. Python3 # import cosine_transform from sympy import cosine_transform, exp, sqrt, cos from sympy.abc import x, k, a # Using cosine_transform() method gfg = cosine_transform(exp(-a * x), x, k) print(gfg) Output : sqrt(2)*a/(sqrt(pi)*(a**2 + k**2)) Example #2 : Python3 # import cosine_transform from sympy import cosine_transform, exp, sqrt, cos from sympy.abc import x, k, a # Using cosine_transform() method gfg = cosine_transform(exp(-a * x), x, 5) print(gfg) Output : sqrt(2)*a/(sqrt(pi)*(a**2 + 25)) Comment More infoAdvertise with us Next Article sympy.integrals.transforms.inverse_hankel_transform() in python J jitender_1998 Follow Improve Article Tags : Python Python Programs SymPy Python SymPy-Geometry Practice Tags : python Similar Reads sympy.integrals.transforms.hankel_transform() in python With the help of hankel_transform() method, we can compute the hankel transformation and returns the transformed function by using this method. hankel transformation Syntax : hankel_transform(f, r, k, nu, **hints) Return : Return the transformed function. Example #1 : In this example we can see that 1 min read sympy.integrals.transforms.mellin_transform() in python With the help of transforms.mellin_transform() method, we can compute the mellin transform F(s) of f(x). Syntax : transforms.mellin_transform(f, x, s) Return : Return the fundamental strip and auxiliary convergence conditions. Example #1 : In this example we can see that by using transforms.mellin_t 1 min read sympy.integrals.transforms.inverse_hankel_transform() in python With the help of inverse_hankel_transform() method, we can compute the inverse of hankel transformation and returns the unevaluated function by using this method. inverse hankel transformation Syntax : inverse_hankel_transform(F, k, r, nu, **hints) Return : Return the unevaluated function. Example # 1 min read sympy.integrals.transforms.laplace_transform() in python With the help of laplace_transform() method, we can compute the laplace transformation F(s) of f(t). Syntax : laplace_transform(f, t, s) Return : Return the laplace transformation and convergence condition. Example #1 : In this example, we can see that by using laplace_transform() method, we are abl 1 min read sympy.integrals.inverse_laplace_transform() in python With the help of inverse_laplace_transform() method, we can compute the inverse of laplace transformation of F(s). Syntax : inverse_laplace_transform(F, s, t) Return : Return the unevaluated transformation function. Example #1 : In this example, we can see that by using inverse_laplace_transform() m 1 min read sympy.integrals.singularityfunctions.singularityintegrate() in python With the help of singularityintegrate() method, we can get the definite integral of the singularity functions and return the integrated function by using this method. Syntax : singularityintegrate(f, x) Return : Return the definite integral of function. Example #1 : In this example we can see that b 1 min read Like