Example
2. Lotka-Volterra Model. Solve the
I.V.P.
with
,
and
with
.
Use several intervals
.
2 (a). Use the
interval
.
2 (b). Use the
interval
.
2 (c). Use the
interval
.
Can you discover if the solution form an "orbit."
Solution 2.
Enter the functions
and
and
form the vector function
.
Compute the Runge-Kutta solution.
![[Graphics:../Images/Lotka-VolterraMod_gr_151.gif]](../Images/Lotka-VolterraMod_gr_151.gif)
![[Graphics:../Images/Lotka-VolterraMod_gr_158.gif]](../Images/Lotka-VolterraMod_gr_158.gif)
![[Graphics:../Images/Lotka-VolterraMod_gr_165.gif]](../Images/Lotka-VolterraMod_gr_165.gif)
Do the two curves join up?
![[Graphics:../Images/Lotka-VolterraMod_gr_169.gif]](../Images/Lotka-VolterraMod_gr_169.gif)
The "true solution" is known to be a closed curve, and there is no known analytic formulas for the solution curve.
![[Graphics:../Images/Lotka-VolterraMod_gr_175.gif]](../Images/Lotka-VolterraMod_gr_175.gif)
More subintervals will produce better results.
![[Graphics:../Images/Lotka-VolterraMod_gr_181.gif]](../Images/Lotka-VolterraMod_gr_181.gif)
Aside.
Let us investigate the critical point of the D. E.
![[Graphics:../Images/Lotka-VolterraMod_gr_188.gif]](../Images/Lotka-VolterraMod_gr_188.gif)
(c) John H. Mathews 2004