Examination of the Midpoint and Trapezoid Rule Errors

Use this page to examine the errors associated with the midpoint and trapezoid rules with n = 1. Try several examples of functions for which f" > 0 on the whole interval and also where f" < 0 on the interval. What relationship do you see in the errors?

Mathematica notation for entering functions: Click here

---- ---- ---

Why is the approximate integral by the midpoint rule the area of a trapezoid and not a rectangle?

Ken Levasseur
Mathematical Sciences
UMass Lowell
Kenneth_Levasseur@uml.edu
UML WebMathematica Scripts