summaryrefslogtreecommitdiff
path: root/1967/CH16/EX16.1/16_1.sce
blob: 9fed2c9ac4ed020db5a5195fd7e76628000165fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc
//initialisation of variables
clear
v= 1
m= 0.5
//CALCULATIONS
m1 = 2*m
m2 = 1*m
v1 = 2*v
v2 = 1*v
M = (m1^2*m2)^(1/(v1+v2))
//RESULTS
printf ('mean ionic molality = %.1f ',m2)
printf ('\n mean ionic molality = %.3f ',M)