function yp = example1(t,y)
% Right-hand side function for Example 1 from the class notes.
%
% Note that the independent variable (t in this case) must be listed first
% in the input argument list.
%
% The function must be written so that it will work when t and y are vectors.
yp = t.^2./y;