Next: Examples
Up: First Order ODEs Symbolically
Previous: Example
  Contents
Using sol1.m
We want to plot a specific numerical solution for the first
order ODE
over a user-designated window
,
. However
we want freedom to enter the initial condition
either via the graphics window or command window.
- Make the appropriate changes in init.m.
ftx = '
'; (RHS of
)
initax = [
,
,
,
]; (desired window size)
Save then type init in the command window to initialize the
variables (or copy-and-paste in the Emporium).
- If necessary, use slopef.m to determine suitable
entries for initax (i.e., the plot rectangle).
- Type sol1. You will be asked if you want a new
slopefield. Answering ''y'' for ''yes'' will erase any existing
slopefield and plot a new one.
- At the command prompt you will be instructed to
Click on initial point; outside the graphics frame for
manual entry
Use the crosshairs to click on the desired initial condition
or click outside the plot, but inside the graphics
window, for manual entry of the
,
-values in the command
window.
Subsections
Next: Examples
Up: First Order ODEs Symbolically
Previous: Example
  Contents
Michael Renardy
2000-05-12