Problem Set 14 (I don't like my answers to parts b and c):

Question 3:

Pset14Q3.m