diff options
Diffstat (limited to '3856/CH8/EX8.8/Ex8_8.sce')
-rw-r--r-- | 3856/CH8/EX8.8/Ex8_8.sce | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/3856/CH8/EX8.8/Ex8_8.sce b/3856/CH8/EX8.8/Ex8_8.sce index 3f3aa9453..bc7df7837 100644 --- a/3856/CH8/EX8.8/Ex8_8.sce +++ b/3856/CH8/EX8.8/Ex8_8.sce @@ -1,3 +1,4 @@ +
//Write Expression for the activities of Pottasium Chloride Sodium Chromate and Aluminium sulphate
//Example 8.8
@@ -12,11 +13,11 @@ vneg1=1; //Number of anion of KCl v1=vpos1+vneg1; //Total number of ions of KCl
-m1=(1*vpos1*1*vneg1)^1/v1; //Mean ionic molality of KCl
+m1=(1*vpos1+1*vneg1)*(1/v1); //Mean ionic molality of KCl
a1=m1; //Mean ionic activity ofelectrolyte
-printf("mu KCl = ",a1);
+printf("mu KCl = %f ",a1);
printf("(m^%.1f)",v1);
|