Hi, this question is being a pain to me can someone please help.

a) Find the Fourier cosine series of $\displaystyle f(x)=|sinx|$ for interval $\displaystyle (-\pi, \pi)$.

b) Use it to find the sum

$\displaystyle \sum_{n \ge 1} \frac{1}{4n^2-1}$

Thanks