CreatingDirectionFieldsDERIVE5

CreatingDirectionFieldsDERIVE5 - Input window and hit...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Creating Direction Fields with DERIVE 5 Last updated: January 22, 2007 Steve Billups, modified by Lance Lana This tutorial describes how to use DERIVE 5 to generate a direction field for the first order differential equation: dy -- = r(x,y) dx Direction fields can be created using the function DIRECTION_FIELD. The DIRECTION_FIELD function has the following syntax: DIRECTION_FIELD(r,x,x0,xm,m,y,y0,yn,n) r = right hand side function r(x,y) x = name of the independent variable y = name of the dependent variable x0 = lower bound on the x values to be plotted. xm = upper bound on the x values to be plotted. m = number of steps in the x direction y0 = lower bound on the y values yn = upper bound on the y values n = number of steps in the y direction The following is an example of how you can use this function to generate a direction field for the ODE dy -- = y-x dx Hint: use x , not t. 1. Define the function by typing the following in the
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Input window and hit Enter: r(x,y) := y-x (Note: The colon before the '=' sign is essential!) 2. Execute the DIRECTION_FIELD function by typing the following in the Input window and then hit Enter again: DIRECTION_FIELD(r(x,y),x,-3,3,24,y,-2,2,8) 3. Open a 2D-plot window by clicking on New 2D-plot Window under the W indow pull-down menu. 4. On the Options pull-down menu, select Display . Click on the "Points" tab. Select Connect = "Yes" and Size = "Small". Click on "OK". Go back to the "Options" pull-down menu. Deselect "Change Plot Colors" <default>. This will automatically exit you from the menu. Go back to the "Options" pull-down menu again. Select "Approximate Before Plotting". NOW, you're ready to plot. 5. To generate the plot use the Insert > Plot command while in the 2D-plot window. 6. If you did everything right, you should get a picture that looks like the following:...
View Full Document

This note was uploaded on 11/11/2009 for the course MATH 3200 taught by Professor Bennethum during the Spring '06 term at University of Colombo.

Page1 / 2

CreatingDirectionFieldsDERIVE5 - Input window and hit...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online