Next: Using hw3plot.m
Previous: Example 1
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';
Save then type init in the command window to initialize the
variables (or copy-and-paste in the Emporium).
initax = [-2,2,-2,2];
- Use slopef.m to determine if the entries for initax
- 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