Quadratic and cubic functions. Because the 4th derivative vanishes for these functions, implying that the error for Simpson's rule is zero. However, since the graphs of these functions are curves, the trapezoid rule cannot be expected to give the exact answer.

Just close this window to return to the exercises.