The definite integral is
,
.
Let
.
Where
.
Width
Substitute
and
.
.
Find the function values.
\
.
.
.
.
.
Substitute
and
in
.
.
.
.
.
.
Trapezoidal rule:
\

Substitute
,
,
,
and
.



.
\
Simpsons rule:
\
.

Substitute
,
,
,
and
.



.
\
Verify the the integral value using graphing utility:
\Graph the function:
on
and
.
.
Trapezoidal Simpsons Graphical
\
.