blob: 98424d78e3e500d09b14ceb01a56b35dcf06ae61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//clc()
MW = 44.032;
Mwater = 18.016;
x = 2;//%
Pa = 41.4;//kPa
Mfr = (x/MW)/(x/MW + (100-x)/Mwater);
//henry's law gives Pa = Ha * xa
Ha = Pa / Mfr;
Molality = 0.1;
Mfr1 = Molality / (1000/Mwater + Molality);
Pa1 = Ha * Mfr1;
disp("kPa",Pa1,"Partial Pressure = ")
|