summaryrefslogtreecommitdiff
path: root/2966/CH1/EX1.12/1_12.sce
blob: cf7c6c66176d8a5c74e96ce159623ce80e25d597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//water//
//page 1.18 example 4//
clc
conc_SH=15/1000//in terms of g/lit//
strength_SH=conc_SH*1000//in terms of mgs/lit//
volume_SH=20//in terms of ml//
volume_H=100//in terms of ml//
EDTA_SH=25//volume for Std hardwater(ml)//
EDTA_H=18//volume for sample hardwater(ml)//
AB_EDTA=12//volume required after boiling(ml)//
CaCO3_equivalent_SH=strength_SH*volume_SH//in terms of CaCO3 equivalent//
one_ml_EDTA=CaCO3_equivalent_SH/EDTA_SH//in terms of CaCO3 equivalent//
To_sample=one_ml_EDTA*EDTA_H/volume_H//total hardness for given volume//
To=To_sample*1000//total hardness per litre(ppm)//
P_sample=AB_EDTA*one_ml_EDTA/volume_H//permanent hardness for given volume//
P=P_sample*1000//permanent hardness per litre(ppm)//
T=To-P
printf("\nTotal Hardness is %.f ppm",To);
printf("\nPermanent Hardness is %.f ppm",P);
printf("\nTemporary Hardness is %.f ppm",T);