Simpson’s rule is used just like the other numerical integration techniques we
have studied: The interval over which f is to be integrated is split into subintervals,
and Simpson’s rule is applied on neighbouring pairs of intervals, see figure
12.6. In other words, each parabola is defined over two subintervals which
means that the total number of subintervals must be even and the number of
given values of f must be odd.