blob: 8f25bdf5c75efbe521eb64d8939bd918720c6742 (
plain)
1
2
3
4
5
6
7
8
9
10
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);
|