next up previous
Next: An animation Up: Example on Teaching the Previous: A Simple Example

Approximations with 20 Subdivisions

By pointing and clicking on Evaluate Numerically we obtain

Lf(1,5,20)=65.52

Rf(1,5,20)=81.52

Tf(1,5,20)=73.52

Mf(1,5,20)=73.24

Sf(1,5,20)=73.33333.

And we can see at once that the midpoint sum is better than the trapezoidal sum which, in turn, is much better than the left and right sums. We see also that the Simpson sum is the best of all. As a matter of fact, the exact value of the Simpson sum is tex2html_wrap_inline434which is exactly equal to the integral. It can be proved that the Simpson sum is always exactly correct when the function being integrated is a polynomial of degree 3 or less.