News

Hints for Assignment 1
Problems 1, 2, 3, 5: All the necessary Matlab commands are explained in Using Matlab for First Order ODEs. Try to follow these instructions, rather than the instructions in the Matlab supplement. In particular, plot direction fields as explained on this web page.

Problem 4(a): Here is an example which shows how to interpret the Matlab output.

Problem 4(b), (c): Problem 5 of Problem Set A explains how to make contour plots. Use t, T instead of x, X and use in contour the formula in T, Y resulting from (a) (remember to use ``.*'' instead of ``*'').

Problem 4(d): Write the problem in the form g(y)=0 where y is the unknown function value at t=1. Define an inline function g(y). Then use fzero(g,guess)