Example 8.  Investigate the behavior of  [Graphics:Images/NumericalDiffMod_gr_203.gif].  If the step size is reduced by a factor of  [Graphics:Images/NumericalDiffMod_gr_204.gif]  then the error bound is reduced by  [Graphics:Images/NumericalDiffMod_gr_205.gif].  This is the  [Graphics:Images/NumericalDiffMod_gr_206.gif]  behavior.

Solution 8.

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



[Graphics:../Images/NumericalDiffMod_gr_208.gif]
[Graphics:../Images/NumericalDiffMod_gr_209.gif]
[Graphics:../Images/NumericalDiffMod_gr_210.gif]
[Graphics:../Images/NumericalDiffMod_gr_211.gif]
[Graphics:../Images/NumericalDiffMod_gr_212.gif]

Investigate the  [Graphics:../Images/NumericalDiffMod_gr_213.gif]  behavior in the following table of values.

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

Step h

EB2[h]

h = 0.08    

0.0006877801

h = 0.04    

0.0001719450

h = 0.02    

0.0000429862

h = 0.01    

0.0000107465

Investigate the  [Graphics:../Images/NumericalDiffMod_gr_215.gif]  behavior in the following graphs.

 

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


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

[Graphics:../Images/NumericalDiffMod_gr_218.gif]
[Graphics:../Images/NumericalDiffMod_gr_219.gif]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004