Compute the Fourier series for the function f(x) = |x| on the interval [-π, π]. Use the result and theorem 2.3 
to show that $$\sum_{n=0}^\infty \frac{1}{(2n+1)^2} = \frac{π^2}{8}$$
My Solution: I found the Fourier series but I don't know how to prove the above equality. $$f(x)= \frac{π}{2} + \frac{2}{π}\sum_{n=1}^\infty \frac{(-1)^n-1}{n^2}cos(nx)$$
$f(x)=|x|\sim \frac{π}{2} + \frac{2}{π}\sum\limits_{n=1}^\infty \frac{(-1)^n-1}{n^2} \cos(nx)=\frac{π}{2}-\frac{4}{\pi}\left(\sum\limits_{k=0}^\infty \frac{1}{(2k+1)^2} \cos(nx)\right)$
what happens when you set $x=0$ ?