The integral is ,
.
Consider .
In this case .
Width
Substitute and
.
.
.
Find the function values.
\.
.
.
.
.
Substitute and
values in
.
.
.
.
.
.
Trapezoidal rule:
.
Substitute ,
,
,
, and
.
.
Simpsons rule:
\.
Substitute ,
,
,
and
.
.
The integral is .
Apply the General Power Rule for Integration:.
.
Trapezoidal Simpsons Exact
.