Next: Using hw3plot.m
Up: Examples
Previous: Example 1
  Contents
Investigate the behavior of the ODE
. Plot one
solution to the ODE in an appropriate rectangle that illustrates
the general behavior of the ODE.
- Change only the following in init.m
ftx = '2*t-x';
initax = [-2,2,-2,2];
Save then type init in the command window to initialize the
variables (or copy-and-paste in the Emporium).
- Use slopef.m to determine if the entries for initax
are suitable.
- Type sol1. Answer ``n'' to retain the current slopefield.
- Choose manual entry by clicking with the crosshairs inside
the graphics window but outside of the actual plot. At each
respective prompt enter
and
.
Michael Renardy
2000-05-12