(a)
\The integral is
.
Observe the table :
\There are
intervals in the function.

Substitute
,
and
in the above formula.

Simpson
s Rule :
.

.
(b)
\
for
.
Error Bound for Simpson
s Rule :
Suppose
for
. If
is error in the Simpson
s Rules, then
.
is the maximum value of the second derivative in the interval.
Here
.
Substitute corresponding values in
.

Approximate error in the part (a) is
.
(a).
.
(b). Approximate error is
.