Solution

ID: past-exam-of-the-options-i-course-of-the-university-of-oxford/2012/p/p2/b/solution

For one interval, the trapezoidal rule gives
For two intervals of width , the composite trapezoidal rule gives half weights at the endpoints and full weight at the internal node:

New to topics? Read the docs here!