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