summaryrefslogtreecommitdiff
path: root/1427/CH1/EX1.22/1_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH1/EX1.22/1_22.sce')
-rw-r--r--1427/CH1/EX1.22/1_22.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1427/CH1/EX1.22/1_22.sce b/1427/CH1/EX1.22/1_22.sce
new file mode 100644
index 000000000..c4dfdbd31
--- /dev/null
+++ b/1427/CH1/EX1.22/1_22.sce
@@ -0,0 +1,9 @@
+//ques-1.22
+//Finding hardness of given water sample
+clc
+V=10000;//volume of water teated (in L)
+v1=200;//volume of HCl required by cationic resin (in L)
+v2=200;//volume of NaOH required by anionic resin (in L)
+N=0.1;//normality of HCl and NaOH
+h=v1*N*(1000/V)*50;//hardness (in ppm)
+printf("Hardness of given sample is %d ppm.",h);