function picsept
% function picsept
%
% This displays a picture illustrating use of the command SEPT.
% 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.6
%
% The function PICSEPT analyzes a fractionator for which all the mole (or
%         mass) fractions for the cmpds in one stream and the mole (or mass)
%         fraction of one cmpd in the other stream are known.  It returns a
%         vector containing the fraction of each cmpd sent to the first
%         outlet stream.  This vector is then used in SEP. See SEP, PICSEP.
%
% Example: >> ti=sept(1,.1,[0.8333 0 0.1668],5);
%          >> sep(ti,5,[4 3])
%
% An explanation of the example is as follows:
%         Since the feed is in lb/hr, use mass fractions.
%         The key cmpd has index of 1.
%         NOTE that the 1st exit stream is 4, NOT 3 because 4 is the
%             first element in the vector of exit streams for SEP.
%         The mass fraction of key cmpd in 2nd exit stream is 0.1
%         The mass fractions of all cmpds in the 1st exit stream
%             is the vector [0.8333 0 0.1667]
%         The feed stream index is 5.
%         The SEP function is used with the ti vector (the fractions of cmpds
%             in feed that go to 1st exit stream) to produce the flows.
%
% 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.6')
  return
end
d = web('http://www.owlnet.rice.edu/~ceng301/5.html#5.6');
if d!=0
  error('Error with web browser, go to http://www.owlnet.rice.edu/~ceng301/5.html#5.6');
end
