Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2013/discrete-mathematics-probability-and-continuous-mathematics/5/b/ii/solution

With step size , the composite trapezoidal rule gives half weight to the two endpoints:
Therefore
It exceeds the exact definite integral by , as expected because is a convex function and each trapezoid lies above the curve.

New to topics? Read the docs here!