This preview shows page 1. Sign up to view the full content.
Unformatted text preview: dy dx = 2 x y the direction eld and isoclines can be obtained using Mathematica as follows: Step 1 Load the Plotield subroutine with the instruction << Graphics`PlotField` Note the use of the backsloped apostrophe. Step 2 Obtain the direction eld by using the PlotVectorield command as follows arrows=PlotVectorField[{1,2xy},{x,2,2},{y,2,2}] Note the following: (a) arrows is a name (with lower case a) which will be used later in the routine (b) the rst element in the rst bracket is unity, which represents the time derivative with respect to itself (c) if memory is scarce, the plot can be suppressed by inserting a semicolon at the end of the line....
View
Full
Document
 Fall '11
 Dr.Gwartney
 Economics

Click to edit the document details