Example 5.  How good are the Simpson's rule approximations to  [Graphics:Images/SimpsonsRule2DMod_gr_132.gif]  that were calculated in Example 4?

Solution 5.

[Graphics:../Images/SimpsonsRule2DMod_gr_133.gif]



[Graphics:../Images/SimpsonsRule2DMod_gr_134.gif]

[Graphics:../Images/SimpsonsRule2DMod_gr_135.gif]

[Graphics:../Images/SimpsonsRule2DMod_gr_136.gif]

[Graphics:../Images/SimpsonsRule2DMod_gr_137.gif]

[Graphics:../Images/SimpsonsRule2DMod_gr_138.gif]

[Graphics:../Images/SimpsonsRule2DMod_gr_139.gif]


We can compare the error in these approximations.

[Graphics:../Images/SimpsonsRule2DMod_gr_140.gif]


[Graphics:../Images/SimpsonsRule2DMod_gr_141.gif]

[Graphics:../Images/SimpsonsRule2DMod_gr_142.gif]

The error for Simpson's 2D rule has the form    [Graphics:../Images/SimpsonsRule2DMod_gr_143.gif]  where h and k are the step sizes for the variables x and y, respectively.
For the above examples, we have the following results.

[Graphics:../Images/SimpsonsRule2DMod_gr_144.gif]


[Graphics:../Images/SimpsonsRule2DMod_gr_145.gif]

[Graphics:../Images/SimpsonsRule2DMod_gr_146.gif]

Remark.  Since both the step sizes were reduced by a factor of [Graphics:../Images/SimpsonsRule2DMod_gr_147.gif] the remainder term  [Graphics:../Images/SimpsonsRule2DMod_gr_148.gif] should be reduced by approximately [Graphics:../Images/SimpsonsRule2DMod_gr_149.gif].  

[Graphics:../Images/SimpsonsRule2DMod_gr_150.gif]


[Graphics:../Images/SimpsonsRule2DMod_gr_151.gif]

[Graphics:../Images/SimpsonsRule2DMod_gr_152.gif]

Therefore, the 2D Simpson's rule is behaving as predicted.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004