The function is
.
(a) Trapezoidal Rule:
\Let
be continuous on
. The Trapezoidal Rule for approximating
is given by
, where 
Here
,
and
.
.



Using Trapezoidal Rule,
.
(b) Midpoint Rule:
\Let
be continuous on
. The Midpoint Rule for approximating
is given by
, where 
Width of te interval: 


Using Midpoint Rule,
.
(c) Simpsons rule:
\Let
be continuous on
. The Simpsons Rule for approximating
is given by
,
where
and
.




Using Simpson Rule,
.
(a) Using Trapezoidal Rule,
.
(b) Using Midpoint Rule,
.
(c) Using Simpson Rule,
.