%
% Example 3.2: Tank with Overflow Weir
%
% Bob Newell, March 1996
%
%-----------------------------------------------------------
%
function dxdt = Overflow_Weir_Tank( t, x )
global p
%
% x = [ 1=M ];
% y = [ 1=m_in 2=m_out ];
% p = [ 1=rho 2=A 3=H 4=n 5=L 6=expon ];
%
%-----------------------------------------------------------
  y = Overflow_Weir_Tank_Outputs( t, x );
%
  dxdt(1) = y(1) - y(2);
%-----------------------------------------------------------
% the end!   
