Example 1. Use the
composite Simpson's rule for multiple integrals to numerically
approximate the iterated integral
.
Remark. This is the volume of the
solid bounded by the surface
, that
lies above the square
in
the xy-plane.
Solution 1.
For illustration, we use the grid with m = 10
and n = 10.
Enter the integrand.
![[Graphics:../Images/SimpsonsRule2DMod_gr_47.gif]](../Images/SimpsonsRule2DMod_gr_47.gif)
The region of integration in the xy-plane can be seen in the following graphical plot.
![[Graphics:../Images/SimpsonsRule2DMod_gr_50.gif]](../Images/SimpsonsRule2DMod_gr_50.gif)
Execute our subroutine Trapezoidal2D.
If you need more decimal places, Mathematica can get them.
![[Graphics:../Images/SimpsonsRule2DMod_gr_57.gif]](../Images/SimpsonsRule2DMod_gr_57.gif)
Next, we find the approximation by using a finer mesh grid.
Execute our subroutine Trapezoidal2D.
If you need more decimal places, Mathematica can get them.
![[Graphics:../Images/SimpsonsRule2DMod_gr_64.gif]](../Images/SimpsonsRule2DMod_gr_64.gif)
(c) John H. Mathews 2004