We used the fact that $\sum_{k=1}^{\infty} \frac{1}{k^4} = \frac{\pi^4}{90}$, an advance result that follows easily from a theorem called Parseval's Theorem, which basically says that if the Fourier series of $f(x)$ is given by