Example
6. Use Mathematica to find the
analytic solution and graph for the I.V.P.
.
Solution 6.
Dig out the formula for the solution out of the data structure
of solset and put it in f[t].
Plot the analytic solution at the same sample points that were used
for the numerical approximations.
![[Graphics:../Images/Euler'sMethodMod_gr_142.gif]](../Images/Euler'sMethodMod_gr_142.gif)
Just for fun, plot the Euler and modified Euler solutions and the analytic solution. Notice that there is a difference.
![[Graphics:../Images/Euler'sMethodMod_gr_146.gif]](../Images/Euler'sMethodMod_gr_146.gif)
(c) John H. Mathews 2004