diff options
Diffstat (limited to '1967/CH16/EX16.1/16_1.sce')
-rwxr-xr-x | 1967/CH16/EX16.1/16_1.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1967/CH16/EX16.1/16_1.sce b/1967/CH16/EX16.1/16_1.sce new file mode 100755 index 000000000..9fed2c9ac --- /dev/null +++ b/1967/CH16/EX16.1/16_1.sce @@ -0,0 +1,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)
|