Thursday, January 22, 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
32475 POSTS0 COMMENTS
Milvus
119 POSTS0 COMMENTS
Nango Kala
6847 POSTS0 COMMENTS
Nicole Veronica
11977 POSTS0 COMMENTS
Nokonwaba Nkukhwana
12064 POSTS0 COMMENTS
Shaida Kate Naidoo
6986 POSTS0 COMMENTS
Ted Musemwa
7220 POSTS0 COMMENTS
Thapelo Manthata
6933 POSTS0 COMMENTS
Umr Jansen
6912 POSTS0 COMMENTS