Example 1.  Use the Taylor method of order  [Graphics:Images/TaylorDEMod_gr_24.gif]  to compute numerical solutions for the differential equation  [Graphics:Images/TaylorDEMod_gr_25.gif]  with initial condition  [Graphics:Images/TaylorDEMod_gr_26.gif]  over the interval  [Graphics:Images/TaylorDEMod_gr_27.gif].

Solution  1.

First, enter the function  [Graphics:../Images/TaylorDEMod_gr_28.gif]  and create explicit formulas for  [Graphics:../Images/TaylorDEMod_gr_29.gif]  for  [Graphics:../Images/TaylorDEMod_gr_30.gif],  respectively, which will involve  [Graphics:../Images/TaylorDEMod_gr_31.gif].  

[Graphics:../Images/TaylorDEMod_gr_32.gif]
[Graphics:../Images/TaylorDEMod_gr_33.gif] [Graphics:../Images/TaylorDEMod_gr_34.gif] [Graphics:../Images/TaylorDEMod_gr_35.gif] [Graphics:../Images/TaylorDEMod_gr_36.gif]

Second, replace  [Graphics:../Images/TaylorDEMod_gr_37.gif]  with   [Graphics:../Images/TaylorDEMod_gr_38.gif]  and construct the implicit formulas  [Graphics:../Images/TaylorDEMod_gr_39.gif]  for  [Graphics:../Images/TaylorDEMod_gr_40.gif], respectively.  

[Graphics:../Images/TaylorDEMod_gr_41.gif]
[Graphics:../Images/TaylorDEMod_gr_42.gif] [Graphics:../Images/TaylorDEMod_gr_43.gif] [Graphics:../Images/TaylorDEMod_gr_44.gif] [Graphics:../Images/TaylorDEMod_gr_45.gif]

Second, use the subroutine to compute the set of points and store them in the variable taylorset.
Then plot this set of points using the built in Mathematica subroutine ListPlot.  

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

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

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

[Graphics:../Images/TaylorDEMod_gr_49.gif]
[Graphics:../Images/TaylorDEMod_gr_50.gif]

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews 2003