HomeLanguagessympy.integrals.transforms.sine_transform() in python

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




# import sine_transform
from sympy import sine_transform, exp
from sympy.abc import x, k, a
  
# Using sine_transform() method
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




# import sine_transform
from sympy import sine_transform, exp
from sympy.abc import x, k, a
  
# Using sine_transform() method
gfg = sine_transform(x * exp(-a * x**2), x, 4)
  
print(gfg)


Output :

sqrt(2)*exp(-4/a)/a**(3/2)

Dominic
Dominichttp://wardslaus.com
infosec,malicious & dos attacks generator, boot rom exploit philanthropist , wild hacker , game developer,
RELATED ARTICLES

Most Popular

Dominic
32541 POSTS0 COMMENTS
Milvus
131 POSTS0 COMMENTS
Nango Kala
6920 POSTS0 COMMENTS
Nicole Veronica
12036 POSTS0 COMMENTS
Nokonwaba Nkukhwana
12143 POSTS0 COMMENTS
Shaida Kate Naidoo
7055 POSTS0 COMMENTS
Ted Musemwa
7292 POSTS0 COMMENTS
Thapelo Manthata
7014 POSTS0 COMMENTS
Umr Jansen
7000 POSTS0 COMMENTS