blob: c2b36145d9a299df021b2c3395b79422895c6866 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
clc
//initialisation of variables
m= 92.13 //gms
M= 78.11 //gms
n= 1 //moles
p= 119.6 //mm
p1= 36.7 //mm
//CALCULATIONS
n1= m/M
x= n/(n+n1)
y= 1-x
P= y*p
P1= x*p1
P2= P+P1
m1= P/P2
m2= 1-m1
//RESULTS
printf (' mole fraction of benzene= %.3f ',m1)
printf (' \n mole fraction of toulene= %.3f ',m2)
|