function dp_x = DEW_P(A,B,C,T,y)
% [P x] = DEW_P(A,B,C,T,y)
% Dew Pressure and Composition of Liquid
% Input: Antoine Constants (A,B,C), Temperature of vapor, y
% Output: Dew Pressure & Composition of Liquid

% Done on 09-Sep-2001, M.Subramanian
% msubbu@svce.ac.in

p_sat = sat_pr_antoine(A,B,C,T);
P =1/(sum(y./p_sat));
x = (y./p_sat)*P;
dp_x = [P x];
%end
