summaryrefslogtreecommitdiff
path: root/2966/CH1/EX1.21/Ex1_21.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2966/CH1/EX1.21/Ex1_21.sce
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 '2966/CH1/EX1.21/Ex1_21.sce')
-rw-r--r--2966/CH1/EX1.21/Ex1_21.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2966/CH1/EX1.21/Ex1_21.sce b/2966/CH1/EX1.21/Ex1_21.sce
new file mode 100644
index 000000000..8c3bf1051
--- /dev/null
+++ b/2966/CH1/EX1.21/Ex1_21.sce
@@ -0,0 +1,18 @@
+//water//
+//page 1.34 example 5//
+clc
+Purity_Lime=1
+W1=13.6;//amount of CaSO4 in ppm//
+W2=8.4;//amount of MgCO3 in ppm//
+W3=05;//amount of CaCO3 in ppm//
+M1=100/136;//multiplication factor of CaSO4//
+M2=100/84;//multiplication factor of MgCO3//
+M3=100/100;//multiplication factor of CaCO3//
+P1=W1*M1;//in terms of CaCO3//S
+P2=W2*M2;//in terms of CaCO3//2*L
+P3=W3*M3;//in terms of CaCO3//L
+printf ("We do not take KNO3 since it does not react with lime/soda");
+V=5000;//volume of water in litres//
+L=0.74*(2*P2+P3)*V/Purity_Lime;//lime required in mg//
+L=L/10^3;
+printf("\n Amount of Lime required is %.1f g",L); \ No newline at end of file