Example 7.  Numerically approximate the integral  [Graphics:Images/Simpson38RuleMod_gr_138.gif]  by using Simpson's 3/8 rule with  m = 10, 20, 40, 80,  and 160.

Solution 7.

We will use the subroutine for the solution.

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

[Graphics:../Images/Simpson38RuleMod_gr_140.gif]
[Graphics:../Images/Simpson38RuleMod_gr_141.gif]
[Graphics:../Images/Simpson38RuleMod_gr_142.gif]


[Graphics:../Images/Simpson38RuleMod_gr_143.gif]
[Graphics:../Images/Simpson38RuleMod_gr_144.gif]
[Graphics:../Images/Simpson38RuleMod_gr_145.gif]


[Graphics:../Images/Simpson38RuleMod_gr_146.gif]
[Graphics:../Images/Simpson38RuleMod_gr_147.gif]
[Graphics:../Images/Simpson38RuleMod_gr_148.gif]


[Graphics:../Images/Simpson38RuleMod_gr_149.gif]
[Graphics:../Images/Simpson38RuleMod_gr_150.gif]
[Graphics:../Images/Simpson38RuleMod_gr_151.gif]


[Graphics:../Images/Simpson38RuleMod_gr_152.gif]
[Graphics:../Images/Simpson38RuleMod_gr_153.gif]
[Graphics:../Images/Simpson38RuleMod_gr_154.gif]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004