Here are the three following ways to estimate the value of a definite integral with sub-intervals:
1) Midpoint Rule
Where is the midpoint of each interval.
2) Trapezoid Rule
3) Simpsons Rule
If is continuous from [] and there is a value such that for all , then we can use the following formulas to calculate the error of the Midpoint and Trapezoid Rule:
1) Midpoint Rule Error Formula
2) Trapezoid Rule Error Formula
If is continuous from and there is a value such that for all , then we can use the following formulas to calculate the error of Simpsons Rule:
3) Simpson's Rule Error Formula
Here is a formula that may be of use when calculating the points of interest in Trapezoid and Simpsons Rule:
Where is the point of interest at .