diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3718/CH14/EX14.8/Ex14_8.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3718/CH14/EX14.8/Ex14_8.sce')
-rw-r--r-- | 3718/CH14/EX14.8/Ex14_8.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3718/CH14/EX14.8/Ex14_8.sce b/3718/CH14/EX14.8/Ex14_8.sce new file mode 100644 index 000000000..a662a1b59 --- /dev/null +++ b/3718/CH14/EX14.8/Ex14_8.sce @@ -0,0 +1,19 @@ +//Chapter 14: Water Treatment
+//Problem: 8
+clc;
+
+//Initialisation of Variables
+//EDTA=Ethylenediaminetetraacetic acid
+v1_water = 50 //in ml for water
+w1_CaCO3 = 1.5 //in mg for pure CaCO3
+v1_EDTA = 44 //in ml for EDTA
+v2_EDTA = 40 //in ml for EDTA
+v2_water = 20 //in ml for water
+
+//Solution
+EDTA_1 = v1_water * w1_CaCO3 / v1_EDTA
+hardw_40 = v2_water * 1.704
+total_h1 = hardw_40 * 1000 / 40
+total_h2 = total_h1 * 0.07
+
+mprintf("Total hardness is :%.2f °Cl",total_h2)
|