This is probably an easy question, but I'm a little bit stuck, so any help will be appreciated.
PROBLEM
Find the complex Fourier coefficients of:
$$f(t) = \sin(2\pi t)$$
and
$$f(t) = |\sin(2\pi t)|$$
when $0 \leq t \leq 1$ seconds.
ATTEMPTED SOLUTION
The first problem is quite simple. I wrote:
$$f(t) = \sin(2\pi t) = \frac{e^{i 2\pi t} - e^{-i 2 \pi t}}{2i}$$
And since the complex Fourier series is defined as:
$$f(t) = \sum_{- \infty}^{\infty} c_n \exp(2 \pi i n t/T)$$
we see that $c_{-1} = -\frac{1}{2i}$ and $c_1 = \frac{1}{2i}$ and all the other Fourier coefficients are zero.
I am bit unsure how to approach the second problem though. I get that we must have:
$$f(t) = |\sin(2 \pi t)| = \left|\frac{e^{i 2\pi t} - e^{-i 2 \pi t}}{2i}\right|$$
but I'm not sure how to proceed from here. Any help will be greatly appreciated!
Here is how you advance
Do you know why?