function picphaseg
% function picphaseg
%
% This displays a picture illustrating use of the command PHASEG.
% 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.8
%
% PICPHASEG will display a picture of the auxiliary CENG 302 module, PHASEG.
% Used alone with arguments dis and x, PHASEG will return the error value of
% the calculated distribution coefficient from given x compared to given dis.
% When used with FZERO, will return the x needed to satisfy the given dis
% NOTE: that "water" phase generally refers to the heavier solvent while
%       "oil" phase generally refers to the lighter solvent
%
% See also IPHASEG, IPHASEGIN, FZERO
%
% Example: >> fzero('phaseg', [.1 .4], 1e-6, [], 1, 2, 3, 0.3, 4, [5 6])
%
% 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/58.html')
  return
end
d = web('http://www.owlnet.rice.edu/~ceng301/58.html');
if d~=0
  error('Error with web browser, go to http://www.owlnet.rice.edu/~ceng301/58.html');
end
