This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Direction Fields -dﬁeld6
• The routine dﬁeld6 is already loaded on all PUCC machines as standard software. To access
it from any PUCC machine:
Start→All Programs→Standard Software→Computational Packages→MATLAB6.1→MATLAB6.1
If you are using your own copy of Matlab you may need to download dﬁeld6. Here is a link : http://math.rice.edu/∼dﬁeld/
(Note: dﬁeld and dﬁeld5 are older versions of dﬁeld6.)
• To access dﬁeld6, at a Matlab prompt type: dﬁeld6 • A popup window will appear: • Correctly enter your diﬀerential equation and enter the range of values of the independent and
dependent variables. Hit Proceed and a graphics window will appear with the direction ﬁeld
of your diﬀerential equation. Click the mouse at any point and the corresponding solution
curve through that point will be plotted.
• There are several options available in the graphics display window : printing, keyboard input
of initial conditions, inserting text, erasing solutions, zoom, etc.
• You may have up to two parameters to quickly vary your diﬀerential equation (rather than
retyping the whole diﬀerential equation with a diﬀerent constant). For example, if you wanted
to see the slope ﬁelds for y = At + By 2 for the values A = 0, 1, 2 and B = −0.1, 0.0, 0.1, you
only need to type in one equation and simply vary the parameters A and B in the indicated
View Full Document
- Spring '08