summaryrefslogtreecommitdiff
path: root/2495/CH4/EX4.7.4/Ex4_7_4.sce
blob: 58ec167ef5dbe51f717d8345f477b04382678104 (plain)
1
2
3
4
5
6
7
8
9
10
11
clear 
clc
XA=0.70;
YA=0.35;
P=600;//in torr
PA=(YA*P)/XA;//vapour pressure of pure A
printf('PA=%.1d torr',PA)
PB=((1-YA)*P)/(1-XA);//vapour pressure of pure B
printf('\nPB=%.1f torr',PB)

//page 145