summaryrefslogtreecommitdiff
path: root/3876/CH4/EX4.6/Ex4_6.sce
blob: bf1809d48bc150a9f25fda86833c366e49d88dac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//Chapter 4 Solutions Nonelectrolytes

clc;
clear;

//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
mprintf("Mole fraction of benzene=%.3f",m1)
mprintf("\nMole fraction of toulene=%.3f",m2)