Some formulae
The following are all closed Newton-Cotes formulae:
n=1 (Trapezoidal Rule)
>
n=2 (Simpson's Rule)
>
n=3 (Simpson's three-eights rule)
>
n=4
>
with, in all cases
a value in the integration interval.
>
One example of an open Newton-Cotes formula is the Midpoint Rule (n=0):
Notice that the end points of the integration interval are not being used in the formula. This is characteristic of open Newton-Cotes formulae.
>