function mw=MW(y)
% Compute molweight
% y : Molfraction

% n=7 ->
% MW(H2)= 2.016
% MW(G )= 44.094
% MW(P )= 100.20  Heptane,C7H16
% MW(N )=  98.19  Cycloheptane,C7H14
% MW(A )=  92.14  Toluene,C7H8

%     H2    Gs    Pf     Nt     Am
MW0=[2.016 51.107 100.198  98.182  92.134];

mw=MW0*y;
