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-resit/4/a/ii/solution

For the composite trapezoidal rule, the mesh width is and the nodes are . The endpoint weights are halves and the interior weights are ones, so
This formula is an approximation to the definite integral, not an exact equality with it for finite .

New to topics? Read the docs here!