Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2019/ii/paper-4/39c/b/solution

Insert the Fourier series
into the rectangle rule. The finite geometric sum obeys
Consequently the quadrature value is
whereas
Thus the exact Periodic N-point rectangle-rule error is
By the Fourier coefficient decay of an analytic periodic function, there are constants and such that
It follows that
Therefore
which is exponential, and hence spectral, convergence.

New to topics? Read the docs here!