summaryrefslogtreecommitdiff
path: root/2465/CH17/EX17.9/Ex17_9.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 10:59:42 +0530
committerprashantsinalkar2018-02-03 10:59:42 +0530
commitd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch)
tree612077a22c8142c0ae754ec11882a4e7d5dc25a4 /2465/CH17/EX17.9/Ex17_9.sce
parentf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (diff)
downloadScilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.gz
Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.bz2
Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.zip
Modified the code
Diffstat (limited to '2465/CH17/EX17.9/Ex17_9.sce')
-rw-r--r--2465/CH17/EX17.9/Ex17_9.sce31
1 files changed, 0 insertions, 31 deletions
diff --git a/2465/CH17/EX17.9/Ex17_9.sce b/2465/CH17/EX17.9/Ex17_9.sce
deleted file mode 100644
index 0436f50e0..000000000
--- a/2465/CH17/EX17.9/Ex17_9.sce
+++ /dev/null
@@ -1,31 +0,0 @@
-//Chapter-17,Example 9,Page 372
-clc();
-close();
-
-m1 = 146 //mass of Mg(HCO3)2
-
-m2 = 162 //mass of Ca(HCO3)2
-
-m3 = 111 //mass of CaCl2
-
-m4 = 120 //mass of MgSO4
-
-m5 = 136 //mass of CaSO4
-
-amnt_1 = 12.5 //amount of Mg(HCO3)2 in ppm
-
-amnt_2 = 10.5 //amount of Ca(HCO3)2 in ppm
-
-amnt_3 = 8.2 //amount of CaCl2 in ppm
-
-amnt_4 = 2.6 //amount of MgSO4 in ppm
-
-amnt_5 = 7.5 //amount of CaSO4 in ppm
-
-temp_hard= [(amnt_1*100/m1)+(amnt_2*100/m2)]*0.1
-
-perm_hard= [(amnt_3*100/m3)+(amnt_4*100/m4)+(amnt_5*100/m5)]*0.1
-
-printf("the temporary hardness is = %.4f degree Fr",temp_hard)
-
-printf("\n the permanent hardness is = %.4f degree Fr",perm_hard)