|
|
|
In this Part, we will investigate the accuracy of the approximation methods we have studied
so far and then try to discover
more accurate approximations by using weighted averages.
The table below records in its third column
the exact value of the integral of the function f(x) = (x2 + 5)/6 over
the interval [0, 5]. The value to four decimal places is 11.1111.
This is the exact area under the curve
shown under the "parabola" function in the applets.
We have used the applet in Part 1 to compute the left-hand sum and right-hand sum approximations
to the integral using n = 40 subintervals and filled the numbers into the table. The error
column is computed by subtracting the exact value of the integral from the approximate value.
Method | Approximation | Exact Integral | Error |
LHS | 10.8529 | 11.1111 | -0.2582 |
RHS | 11.3737 | 11.1111 | 0.2626 |
TRAP | 11.1111 | ||
MID | 11.1111 |
Compute the weighted average S approximation for the two functions in your tables. Compute the errors in the S approximations by subtracting the exact value of each integral from your approximations. The accuracy with only n = 40 subintervals should be outstandingly good. This approximation is called Simpson's Rule.
*Technically, most texts say that our n = 5 Simpson's rule should really be called the n = 10 Simpson's Rule because we have to do n = 20 evaluations of the function when we total the MID and TRAP evaluations. Likewise, n = 20 should be n = 40, etc.
|
|
|
modules at math.duke.edu | Copyright CCP and the author(s), 1999 |