 
Summary: Math 308, Matlab assignment 1
due September 16 in class
1. In your home directory (folder), create a directory in which you will keep your Matlab files, for
example "Matlab".
Go to
http://calclab.math.tamu.edu/~belmonte/m308/I/M308_lnx.html
if you use Linux or
http://calclab.math.tamu.edu/~belmonte/m308/I/M308_win.html
if you use Windows, and follow instructions to download and unzip supplementary files in your
Matlab directory. You may need to copy the files from the Polking subdirectory to the top level
directory for Matlab to see them.
Start Matlab and change the "current directory" to your Matlab directory.
1. Using the command dfield7, plot the direction fields for the following differential equations.
Choose the limits on the dependent and independent variables to make the plot informative. Make
sure to label the axes if necessary (using xlabel, ylabel), and to indicate what is depicted in
each plot (using title). Include in each plot solution curves with initial conditions f(1) = 1,
f(1) = 2, and one or two more (using Options / Keyboard input in the direction field
display window for the precise initial conditions, or just clicking on the plot). Print out the result
(see the class web page for suggestions on how to print). Another useful command is shg; see the
diary from September 2 for examples.
