Solution

ID: past-exam-of-the-numerical-analysis-course-of-the-university-of-oxford/2015/1/a/solution

For , the one-panel trapezoidal rule is
It integrates the linear interpolation between the two endpoint samples. Indeed the affine function
has definite integral . The two quadrature nodes are and both quadrature weights are .

New to topics? Read the docs here!