Next: Using sol1.m
Up: Using slopef.m
Previous: Using slopef.m
  Contents
When you first copy init.m, it should be
set to run this example.
Plot the slopefield for
over the rectangle
,
. Investigate
whether this rectangle gives a good overall picture of the ODE
behavior. If not, plot over a better rectangle.
- Change only the following in init.m
ftx = '2*t*x'; (``
'' indicates multiplication)
initax = [1,4,-2,0];
Save then type init in the command window to initialize the
variables (or copy-and-paste in the Emporium).
- Type slopef(ftx,N) to obtain
Since
represents the slope, we should also
consider when
and
. Suppose we try the symmetric
rectangle
,
.
- This time change only
initax = [-2,2,-2,2];
Save then type init in the command window (or copy-and-paste
in the Emporium).
- Type slopef(ftx,N) to obtain
Build your intuition: Does this picture match the general slope
behavior indicated by
? Look at the following
cases
Next: Using sol1.m
Up: Using slopef.m
Previous: Using slopef.m
  Contents
Michael Renardy
2000-05-12