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 integral value by using graph :
\Graph the function: on
and
.
Trapezoidal Simpsons Graphical
\
.