I'm representing some function using complex Fourier series and I have to solve this integral:
$\int_{0}^{T} e^{-jnwt}dt$, where $w=\frac{2\pi}{T}$
I got this:
$\int_{0}^{T} e^{-jnwt}dt=...=-\frac{1}{jnw}e^{-jnwT}+\frac{1}{jnw}=\frac{1}{jnw}-\frac{1}{jnw}(\cos(2jn\pi)-\sin(2jn\pi))$
My question is, how cosine and sine terms in brackets behave for different n (n goes from $-\infty$ to $n=+\infty$)?
EDIT: I made mistake, there is of coure no imaginary j as argument of sine and cosine. I'm not concentrated, it's too late :)