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 /2465/CH17/EX17.5 | |
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 '2465/CH17/EX17.5')
-rw-r--r-- | 2465/CH17/EX17.5/Example_5.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/2465/CH17/EX17.5/Example_5.sce b/2465/CH17/EX17.5/Example_5.sce new file mode 100644 index 000000000..81bbb40e5 --- /dev/null +++ b/2465/CH17/EX17.5/Example_5.sce @@ -0,0 +1,25 @@ +//Chapter-17,Example 5,Page 370
+clc();
+close();
+
+v= 50000 //volume of water
+
+m1 = 84 //mass of MgCO3
+
+m2 = 100 //mass of CaCO3
+
+m3 = 95 //mass of MgCl2
+
+m4 = 111 //mass of CaCl2
+
+amnt_1 = 144 //amount of MgCO3 in ppm
+
+amnt_2 = 25 //amount of CaCO3 in ppm
+
+amnt_3 = 95 //amount of MgCl2 in ppm
+
+amnt_4 = 111 //amount of CaCl2 in ppm
+
+lime = (74/100)*[2*(amnt_1*100/m1)+(amnt_2*100/m2)+(amnt_3*100/m3)]*v
+
+printf("the lime required is = %.3f mg",lime)
|