Fourier transform is currently implemented in SymPy only for integrable 
functions. None of those functions is integrable so SymPy cannot be used 
find the transform.

Kalevi Suominen

On Tuesday, April 20, 2021 at 11:38:08 AM UTC+3 aTPer wrote:

> I am trying to compute the integral fourier transform of 
> sin(t),cos(t),-1/t^2 and 2/t^3(look at screenshot). This for checking 
> answers for maths homework/tutorials.
> So, I went to the Sympy documentation page and learned the code from there 
> to compute the FTs of the functions defined above but none of it actually 
> works. Then, I tried using the noconds=False This is my code:
>
> from sympy import fourier_transform, exp, cos, sin
> from sympy.abc import t,w,o 
> fourier_transform(sin(o*t), t, w, noconds=False) 
> fourier_transform(cos(o*t), t, w, noconds=False)
>  fourier_transform(-1/t**2, t, w, noconds=False)
>  fourier_transform(2/t**3, t, w, noconds=False)
>
> https://i.stack.imgur.com/90eo8.png
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/108ffcc4-8e62-4a6a-bbcc-8fb23fb9dda5n%40googlegroups.com.

Reply via email to