https://numbas.mathcentre.ac.uk/question/29463/shifted-top-hat-function-fourier-series.zip?