From Fourier series coefficients,
Which can be integrated by parts and results in
Making a change of index variable to only odd numbers, the final solution is
Main Page : Partial Differential Equations