%
%   Tanks2_unforced_eqns.m  Function evaluation for ODE step 
%                           in Matlab file Tanks2_unforced.m
%     
%   Sample problem from in-class notes
%
%   File prepared by J.R. White, UMass-Lowell (Sept 2003).
%

      function mp = odefile(t,m)
      global v q 
      mp = zeros(length(m),1);
      mp(1) = -q/v(1)*m(1);
      mp(2) =  q/v(1)*m(1) - q/v(2)*m(2);
%
%   End of function

