At any point of discontinuity the Fourier series should converge to the average of the limit from the left and the right. In this case

When I do the integral

Notice that

all of the terms reduce out pairwise.

for 2) that is a great idea.

for 3 Convergence of Fourier series - Wikipedia, the free encyclopedia