summaryrefslogtreecommitdiff
path: root/2966/CH1/EX1.16/1_16.sce
diff options
context:
space:
mode:
Diffstat (limited to '2966/CH1/EX1.16/1_16.sce')
-rw-r--r--2966/CH1/EX1.16/1_16.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2966/CH1/EX1.16/1_16.sce b/2966/CH1/EX1.16/1_16.sce
new file mode 100644
index 000000000..374a7008d
--- /dev/null
+++ b/2966/CH1/EX1.16/1_16.sce
@@ -0,0 +1,20 @@
+//water//
+//page 1.22 example 8//
+clc
+conc_SH=1.2/1000//in terms of g/lit//
+strength_SH=conc_SH*1000//in terms of mgs/lit//
+volume_SH=20//in terms of ml//
+volume_H=50//in terms of ml//
+EDTA_SH=35//volume for Std hardwater(ml)//
+EDTA_H=30//volume for sample hardwater(ml)//
+AB_EDTA=25//volume required after boiling(ml)//
+CaCO3_equivalent_SH=strength_SH*volume_SH//in terms of CaCO3 equivalent//
+one_ml_EDTA=CaCO3_equivalent_SH/EDTA_SH//in terms of CaCO3 equivalent//
+To_sample=one_ml_EDTA*EDTA_H/volume_H//total hardness for given volume//
+To=To_sample*1000//total hardness per litre(ppm)//
+P_sample=AB_EDTA*one_ml_EDTA/volume_H//permanent hardness for given volume//
+P=P_sample*1000//permanent hardness per litre(ppm)//
+T=To-P
+printf("\nTotal Hardness is %.f ppm",To);
+printf("\nPermanent Hardness is %.1f ppm",P);
+printf("\nTemporary Hardness is %.1f ppm",T); \ No newline at end of file