summaryrefslogtreecommitdiff
path: root/2495/CH4/EX4.7.13/Ex4_7_13.sce
blob: f270b7476ba235eee6d6e58e63b716e4e4bc3e6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
clear
clc
T=391;//temperature in K
Yb=0.045;//
Ya=0.955;//
T=410;//in K
X=50/100;//
XA=0.09;//composition of liquid at l2
XB=0.91;//composition of liquid at l2
YA=0.74;//composition of liquid at v2
YB=0.26;//composition of liquid at v2
N=(YA-X)/(X-XA);//
M1=(X-XA)/((YA-X)+(X-XA))*100;//mol % of vapour
printf('M1=%.2f',M1)
M2=100-M1;//mol % of vapour
printf('\nM2=%.2f',M2)
XA1=0.035;//composition of liquid at l3
XB1=0.965;////composition of liquid at l3
Yaf=0.743;//
X1=(Ya+Yaf)/2;//
printf('\nX1=%.2f',X1)

//page 154