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

Solution 1.

Compute the Euler and modified Euler solutions based on 25 subintervals and plot the results.

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

[Graphics:../Images/Euler'sMethodMod_gr_45.gif]
[Graphics:../Images/Euler'sMethodMod_gr_46.gif]

First, find Euler's solution.

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

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

[Graphics:../Images/Euler'sMethodMod_gr_49.gif]
[Graphics:../Images/Euler'sMethodMod_gr_50.gif]
[Graphics:../Images/Euler'sMethodMod_gr_51.gif]
[Graphics:../Images/Euler'sMethodMod_gr_52.gif]
[Graphics:../Images/Euler'sMethodMod_gr_53.gif]

Second, find the modified Euler solution.

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

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

[Graphics:../Images/Euler'sMethodMod_gr_56.gif]
[Graphics:../Images/Euler'sMethodMod_gr_57.gif]
[Graphics:../Images/Euler'sMethodMod_gr_58.gif]
[Graphics:../Images/Euler'sMethodMod_gr_59.gif]
[Graphics:../Images/Euler'sMethodMod_gr_60.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_61.gif]

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

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2004