summaryrefslogtreecommitdiff
path: root/2495/CH2/EX2.2.1/Ex2_2_1.sce
blob: cc72f11779f3753a40071efaf90fe319f41384c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear
clc
M1=20;//mass of acetic acid in gm
M2=80;//mass of water in gm
mM=60;//molar mass of acetic acid in gm
Vm1=M1/60;//in mol
Vm2=M2/18;//in mol
rho=1.026;//in gm/cm^3
X=Vm1/(Vm1+Vm2);//mole fraction of acetic acid
printf('X=%.3f',X)
B=Vm1/(M2/1000);//molality of acetic acid
printf('\nB=%.3f mol/kg',B)
V=(M1+M2)/rho
C=(Vm1)/(V/1000);//molarity of acetic acid
printf('\nC=%.3f moldm^-3',C)

//There are some errors in the solution given in textbook
//In textbook the value of X is given in fraction
//page 36