Require both the trapezoidal rule and Simpson’s rule. They can be worked without calculator programs if such programs are not available, although they require more calculation than the other problems in this exercise set.
The difference between the true value of an integral and the value given by the trapezoidal rule or Simpson’s rule is known as the error. In numerical analysis, the error is studied to determine how large $n$ must be for the error to be smaller than some specified amount. For both rules, the error is inversely proportional to a power of $n$, the number of subdivisions. In other words, the error is roughly $k / n^{p},$ where $k$ is a constant that depends on the function and the interval, and $p$ is a power that depends only on the method used. With a little experimentation, you can find out what the power $p$ is for the trapezoidal rule and for Simpson's rule.
For the integral in Exercise 7, apply the midpoint rule with $n=4$ and Simpson's rule with $n=8$ to verify the formula $S=(2 M+T) / 3$