There is Fourier Transform formula with e pow i, there is also another Fourier Transform formula with real numbers only (with sin and cos).
I thought that imaginary numbers are imaginary only except for e pow 2pi which is 0 and e pow pi which is 1.
How come that imaginary numbers become all of a sudden real numbers?
Because we have that $$\sin{(x)}=\frac{e^{ix}-e^{-ix}}{2i}$$ $$\cos{(x)}=\frac{e^{ix}+e^{-ix}}{2}$$ So the complex exponentials can be rewritten as sine and cosine.