summaryrefslogtreecommitdiff
path: root/2966/CH1/EX1.4.18/1_4_18.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /2966/CH1/EX1.4.18/1_4_18.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '2966/CH1/EX1.4.18/1_4_18.sce')
-rw-r--r--2966/CH1/EX1.4.18/1_4_18.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2966/CH1/EX1.4.18/1_4_18.sce b/2966/CH1/EX1.4.18/1_4_18.sce
new file mode 100644
index 000000000..cf7c6c661
--- /dev/null
+++ b/2966/CH1/EX1.4.18/1_4_18.sce
@@ -0,0 +1,20 @@
+//water//
+//page 1.18 example 4//
+clc
+conc_SH=15/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=100//in terms of ml//
+EDTA_SH=25//volume for Std hardwater(ml)//
+EDTA_H=18//volume for sample hardwater(ml)//
+AB_EDTA=12//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 %.f ppm",P);
+printf("\nTemporary Hardness is %.f ppm",T); \ No newline at end of file