Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2019/discrete-mathematics-continuous-mathematics-and-probability/4/a/solution

Let , , and . The composite midpoint rule and composite trapezoidal rule are
For composite Simpson's rule with strips, the spacing is . Its odd-indexed nodes are the and its even interior nodes are the . Consequently
This is an identity between the quadrature rules, not an approximation involving an omitted quadrature error.

New to topics? Read the docs here!