function Vdot=twotanks(t,V)
% This is a function m-file to simulate the two-tank
% system described in ME 244L Lab Handbook, Ch. 2.
% 9-2-97 rgl
%
Vdot1=sqrt(1-V(1))-sqrt(V(1)-V(2));
Vdot2=sqrt(V(1)-V(2))-sqrt(V(2));
Vdot=[Vdot1;Vdot2];
