summaryrefslogtreecommitdiff
path: root/1478/CH2/EX2.18.16
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1478/CH2/EX2.18.16
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1478/CH2/EX2.18.16')
-rwxr-xr-x1478/CH2/EX2.18.16/2_18_16.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1478/CH2/EX2.18.16/2_18_16.sce b/1478/CH2/EX2.18.16/2_18_16.sce
new file mode 100755
index 000000000..e98346284
--- /dev/null
+++ b/1478/CH2/EX2.18.16/2_18_16.sce
@@ -0,0 +1,19 @@
+//water and its treatment//
+//example 2.18.16//
+clc
+strength_SH=1//in terms of mgs/lit//
+volume_SH=50//in terms of ml//
+volume_H=50//in terms of ml//
+EDTA_SH=20//volume for Std hardwater(ml)//
+EDTA_H=25//volume for sample hardwater(ml)//
+AB_EDTA=18//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 mg/l or ppm",To);
+printf("\nPermanent Hardness is %.f mg/l or ppm",P);
+printf("\nTemporary Hardness is %.f mg/l or ppm",T); \ No newline at end of file