1. Approximate a simple linear function with clean integers
Problem
Calculate the width of each subinterval using .
Evaluate at each of the five endpoints.
Substitute into the Trapezoidal Rule formula with endpoint coefficients of 1 and interior coefficients of 2.
Add the terms in brackets, then multiply by .
Answer:
This is a linear function, so the Trapezoidal Rule gives the exact answer. We can verify: the exact integral is .