%% YOURNAME (DUEDATE)
%
% *IMPORTANT:*
%
% Do not change *anything* in this header (besides your
% name and due date above as needed)!
%
% Put your solution to the exercise completely at the end
% of this file.
%
%%
% <latex>
% % for Octave, or for Matlab published to LaTeX for proclatex
% \input{../setup.tex}
% </latex>
%
%% TEST, Exercise 1

if ~exist('___code___','var') ; clear ; end
format compact
more off


%% EXERCISE DESCRIPTION:
%
% Perform some simple computations.
%
%% Hints
%
% * Note that lines in your script that start with a
% percent, like this one, are ignored by Matlab.  These
% "comment" lines do not really "do" anything.  But they
% do allow you to explain your code to the grader.
%
% * Note also that a line starting with a _double_
% percent followed by a title, like the "%% Hints" line
% above, starts a new section in the resulting pdf file.
% Use such lines to create separate sections with titles
% "a)" and "b)" for the subexercises.
%
% * If there is _only_ the double percent, then no new
% section is started, but in the pdf file, your code is
% executed at that point and the results shown.  Use this
% in exercise (b): in particular, put a double percent
% line after you have found the sine of 30 degrees using
% the |sind| function, to show that result before you
% evaluate it again using the |sin| function.
%
% * Single-percent comment lines that _immediately_
% follow a double-percent line, with no blank lines or
% code in between, allow you to use "mark-up".  Mark-up
% allows you to insert such things as _italics_ (enclose
% the italic text between underscores), *bold text*
% (between stars), |typewriter font| (between vertical
% bars), and inline math like $\rm{}H_2O$ and
% $|x|=\sqrt{x^2}$ (between dollar signs).  See the
% script file.  You can also insert other files, using
% "include tags"; see the script file of exercise 3 for
% an example.
%
% Mark up also allows you to insert "displaymath" like
%
% $$ T_{\rm exact} = 14.6 e^{-1.1 t}
% \qquad
% q = \int_{t=0}^2 T\,{\rm d}t $$
%
% in non-indented paragraphs like this one (between
% double dollar signs).  See the script file of this
% exercise for an example.  Note: Math looks horrible in
% Matlab.  In Matlab you are usually better off showing
% the math in code form, using typewriter font.
%
% _WARNING:_ Mark-up text is extremely picky.  A missing
% or additional space behind the leading percent and it
% is all wrong.  And there may not be any completely
% blank lines between the mark up text and its preceding
% double-percent line either.


%% SOLUTION:


