Example 2. Use
Mathematica's procedure DSolve to get an analytic
solution for the differential equation
with
initial condition
over
the interval
.
Solution 2.
First, Remove any instance of y.
But make sure y is not empty when you do it.
![[Graphics:../Images/TaylorDEMod_gr_54.gif]](../Images/TaylorDEMod_gr_54.gif)
Then solve the D. E. with given I. C.
![[Graphics:../Images/TaylorDEMod_gr_55.gif]](../Images/TaylorDEMod_gr_55.gif)
![[Graphics:../Images/TaylorDEMod_gr_56.gif]](../Images/TaylorDEMod_gr_56.gif)
Compare the two graphs.
![[Graphics:../Images/TaylorDEMod_gr_61.gif]](../Images/TaylorDEMod_gr_61.gif)
![[Graphics:../Images/TaylorDEMod_gr_62.gif]](../Images/TaylorDEMod_gr_62.gif)
(c) John H. Mathews 2003