Solution

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

Write the sum in the question as the right Riemann sum
Relative to the composite trapezoidal rule, the only change is in the two endpoint weights:
The integrand is continuous on , so . Since an antiderivative is ,
Thus

New to topics? Read the docs here!