function picsepe
% function picsepe
%
% This displays a picture illustrating use of the command SEPE.
% Note that this will only run in Matlab versions that support the WEB
% command (Matlab 5.0 and above).  Otherwise, visit the following web site:
% http://www.owlnet.rice.edu/~ceng301/5.html#5.10
%
% Example: >>  sepe('v','l',120,150,2,[3 5],[.9 .35])
%     simulates a fractionator with stream 2 as the
%     feed, 3 as the top product and 5 as the bottom.
%     The top comes off as a vapor at 120 Tdeg and gets
%     90% of the first component and 35% of the second.
%     Stream 5 is the bottom product containing the rest of
%     the components as liquid at 150 Tdeg.
%
%     NOTE:  the sum of the vector of fractions going to top stream is
%            not necessarily equal to one!
%
% Comments/Picture: TYLC, ACP
% Comments/Picture/Program: ADD
% Last updated:  May, 1997

c=version;
d = c(1:3);
e = str2num(d);
if e<5.0
  disp('Please use browser to visit:')
  disp(' http://www.owlnet.rice.edu/~ceng301/5.html#5.10')
  return
end
d = web('http://www.owlnet.rice.edu/~ceng301/5.html#5.10');
if d!=0
  error('Error with web browser, go to http://www.owlnet.rice.edu/~ceng301/5.html#5.10');
end
