Example 9.  Solve the I.V.P.  [Graphics:Images/Euler'sMethodMod_gr_184.gif].  

Solution 9.

Compute the Euler and modified Euler solutions based on 50 subintervals and plot the results.
Note, for this example we will extend one subinterval more to the right of  t=1.

[Graphics:../Images/Euler'sMethodMod_gr_185.gif]


[Graphics:../Images/Euler'sMethodMod_gr_186.gif]
[Graphics:../Images/Euler'sMethodMod_gr_187.gif]

First, find Euler's solution.

[Graphics:../Images/Euler'sMethodMod_gr_188.gif]

[Graphics:../Images/Euler'sMethodMod_gr_189.gif]

[Graphics:../Images/Euler'sMethodMod_gr_190.gif]
[Graphics:../Images/Euler'sMethodMod_gr_191.gif]
[Graphics:../Images/Euler'sMethodMod_gr_192.gif]
[Graphics:../Images/Euler'sMethodMod_gr_193.gif]
[Graphics:../Images/Euler'sMethodMod_gr_194.gif]

Second, find the modified Euler solution.
Note, for this example we will extend one subinterval more to the right of  t=1.

[Graphics:../Images/Euler'sMethodMod_gr_195.gif]

[Graphics:../Images/Euler'sMethodMod_gr_196.gif]

[Graphics:../Images/Euler'sMethodMod_gr_197.gif]
[Graphics:../Images/Euler'sMethodMod_gr_198.gif]
[Graphics:../Images/Euler'sMethodMod_gr_199.gif]
[Graphics:../Images/Euler'sMethodMod_gr_200.gif]
[Graphics:../Images/Euler'sMethodMod_gr_201.gif]

Just for fun, plot both the Euler solution and the modified Euler solution. Notice that there is a difference.

[Graphics:../Images/Euler'sMethodMod_gr_202.gif]

[Graphics:../Images/Euler'sMethodMod_gr_203.gif]

[Graphics:../Images/Euler'sMethodMod_gr_204.gif]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004