The basic problem is to obtain an approximation to the value of a definite integral of the form
| I = |
Most methods use the approach of dividing the interval [a, b] into a large number N of subdivisions. We will denote the ith subdivision point by xi (x0 = a and xN = b). We write yi = f (xi). If all subdivisions are of equal width h then xi = a + ih, and h = (b - a)/N.
Trapezium Rule: This method uses an arbitrary number of equal subdivisions.
| I |
Simpson's Rule: This method uses any even number 2N of equal subdivisions. Note that in this formula h = (b - a)/2N.
| I |
Simpson's Rule is far more accurate that the Trapezium Rule, in general, for essentially the same amount of calculation.