- #1
leopard
- 125
- 0
Homework Statement
Find the Fourier transform of the function f(x) = 1 if -1<x<1, f(x) = 0 otherwise
2. The attempt at a solution
[tex]\hat{f}(w) = \frac{1}{\sqrt{2 \pi}} \int ^{1}_{-1}e^{-iwx}dx = \frac{1}{\sqrt{2 \pi}} [\frac{e^{-iwx}}{-iw}]^{1}_{-1} = \frac{1}{-iw \sqrt{2 \pi}}(e^{-iw} - e{iw}) = \sqrt{\frac{2}{\pi}} \frac{sinw}{w}[/tex]
According to my book, the correct answer is [tex]\sqrt{\frac{\pi}{2}} \frac{sinw}{w}[/tex]
Who is right?