summaryrefslogtreecommitdiff
path: root/1427/CH1/EX1.23/1_23.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH1/EX1.23/1_23.sce')
-rw-r--r--1427/CH1/EX1.23/1_23.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1427/CH1/EX1.23/1_23.sce b/1427/CH1/EX1.23/1_23.sce
new file mode 100644
index 000000000..8f25bdf5c
--- /dev/null
+++ b/1427/CH1/EX1.23/1_23.sce
@@ -0,0 +1,11 @@
+//ques-1.23
+//Calculating hardness of given water sample
+clc
+V=100;//volume of water (in mL)
+v1=20;//volume of sodium carbonate used (in mL)
+n1=0.1;//normality of sodium carbonate solution
+v2=30;//volume of sulphuric acid used (in mL)
+n2=0.05;//normality of sulphuric acid used
+f=v2*(n2/n1);//Filtrate
+h=(v1-f)*n1*(1000/V)*50;//hardness (in ppm)
+printf("Hardness of water sample is %d ppm.",h);