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 sine_transform() method, we are able to compute the sine transformation and returned the transformed function.
Python3
from sympy import sine_transform, exp
from sympy.abc import x, k, a
gfg = sine_transform(x * exp( - a * x * * 2 ), x, k)
print (gfg)
|
Output :
sqrt(2)*k*exp(-k**2/(4*a))/(4*a**(3/2))
Example #2 :
Python3
from sympy import sine_transform, exp
from sympy.abc import x, k, a
gfg = sine_transform(x * exp( - a * x * * 2 ), x, 4 )
print (gfg)
|
Output :
sqrt(2)*exp(-4/a)/a**(3/2)
Last Updated :
10 Jul, 2020
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...