With step size and nodes , the composite trapezoidal rule gives
The endpoint weights are half the interior weights, and the endpoint values are and .
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

Articles by others on the same topic (0)

There are currently no matching articles.