Solution

ID: past-exam-of-the-numerical-analysis-course-of-the-university-of-oxford/2015/1/c/i/solution

On a partition of an interval , apply the trapezoidal rule separately to each panel and add:
For uniform spacing , this composite trapezoidal rule becomes
Each interior sample occurs in two panels; their half-quadrature weights combine to . The endpoint quadrature weights are .

New to topics? Read the docs here!