Example 9.  Plot the error in exercise 5 using the "true solution" function in exercise 8.
Remark. You must make sure that the Runge Kutta solution in exercise 5 is the "last one" that was computed, so that the values that are actually resident in the variables  T  and  Y  are the ones we need to use.
Solution 9.

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

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

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2003