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)