Example
3. Determine the error in the Taylor Series
method, by comparing it with the analytic solution.
Solution 3.
The Taylor Series Method computed a ListPlot. We
must use this same type of data structure for
in
order to compare the two. The subroutine stored the
abscissas in a list T.
Taking
will
produce a list of ordinates.
The error is just the difference.
Plotting the data points for the error is similar to plotting the data points for the Taylor Series method solution.
![[Graphics:../Images/TaylorDEMod_gr_72.gif]](../Images/TaylorDEMod_gr_72.gif)
![[Graphics:../Images/TaylorDEMod_gr_73.gif]](../Images/TaylorDEMod_gr_73.gif)
(c) John H. Mathews 2003