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/iii/solution

For equal intervals, the composite trapezoidal rule is
Adding the missing term therefore gives the exact relation
Since is continuous, its Riemann sums, and hence its endpoint-averaged trapezoidal sums, converge to its definite integral. Thus and , giving
No pre-existing formula for the sum of squares is needed.

New to topics? Read the docs here!