Sunday, April 5, 2026
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
32512 POSTS0 COMMENTS
Milvus
131 POSTS0 COMMENTS
Nango Kala
6886 POSTS0 COMMENTS
Nicole Veronica
12007 POSTS0 COMMENTS
Nokonwaba Nkukhwana
12100 POSTS0 COMMENTS
Shaida Kate Naidoo
7015 POSTS0 COMMENTS
Ted Musemwa
7259 POSTS0 COMMENTS
Thapelo Manthata
6972 POSTS0 COMMENTS
Umr Jansen
6960 POSTS0 COMMENTS