Simpson's rule is a method for approximating integrals using a sum of quadratic functions. When using Simpson's rule, you must always use an even number of points.
Simpsons rule is written as follows:
Where
Approximate
So
Since
The error induced by Simpson's rule can be bounded by the following equation
Where
Considering
Hence