summaryrefslogtreecommitdiff
path: root/632/CH3/EX3.18/example3_18.sce
blob: a3a77123e949b6c14c64c3943ce5996730c5c468 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//clc()
msolu = 100;//kg
percent1 = 60;//%
Dwater = 998;//kg/m^3
Dalco = 798;//kg/m^3
Dsolu = 895;//kg/m^3
Vsolu = msolu/Dsolu;
malco = msolu * percent1 / 100;
Valco = malco / Dalco;
Vpr = Valco * 100 / Vsolu;
Malco = 46.048;//kg/kmol
N = malco/Malco;
Molarity = N/(Vsolu );
mwater = msolu - malco;
Molality = N * 1000 /mwater;
disp("%",Vpr,"(a)Volume percent of ethanol in solution = ")
disp("mol/L",Molarity,"(b)Molarity = ")
disp("mol/(kg of water)",Molality,"(c)Molality = ")