Then this reduces to finding the Fourier Sine series of right? Or rather the odd-extension of the function which I've drawn in the first plot below. Suppose that's all you had to do, find . Can you do that? Then we can solve the PDE and it should look like the second plot.