Homework 1. (due 01/23)
Problem 1 refers to the matlab primer that lives here.
Update: There is a typo in the homework 1. Problem 3b) is meant to ask you to do exercise 1.3 from the book.

Homework 2 (due 01/29)

Homework 3 (due 02/06 at 8am)
Matlab files that you need for simulations can be found here

Homework 4 (due 02/13 at 8am)
You may want to use the following matlab files:
Problem 1, file 1
Problem 1, file 2
Problem 3, file 1
Problem 3, file 2

Homework 5 (due 02/20 at 8am)

Homework 6 (due 02/27 at 8am)

Homework 7 (due 03/06)
Files to use for problems 1 and 3: File 1, File 2
Files to use for problem 2: File 1, File 2
Update: To plot z-curves in problem 3b) you can use the following files. To use, copy a file into your matlab working directory, then type 'load sv_gkatp120', in your Matlab workspace you will have a variable sv_gkatp120, which has two columns - first values of s, second - values of v on the z-curve. You can plot it. Then repeat with the other file, for different value of gkatp. This diagram will not give you the steady states, but not stability. You can mark stability "by hand", by analogy with the diagram we looked at in class.
sv_gkatp120.mat sv_gkatp200.mat

Homework 8 (due 03/13)
In problem 4, after you write the equations and before you do anything to them, reduce the system to 2 equations, using the total town population size P.

Homework 9 (due 04/03)
This file may be helpful for problem 1.

Homework 10 (due 04/10)

Homework 11 (due 04/17)

Homework 12 (due 04/24)
Correction: normcdf doesn't work on these computers (they do not have the required package. Instead write the function yourselves: normcdf(x)=0.5*erfc(-x/sqrt(2));