summaryrefslogtreecommitdiff
path: root/2966/CH1/EX1.9/1_9.sce
blob: 0ad178a0a9cd2b0352a6dda4b6cb67196420a869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//water//
//page 1.15 example 1//
clc
strength=1.1//in terms of mgs/ml CaCO3//
volume=50//volume titrated(ml)//
EDTA=38//volume in terms of ml//
volume_hardwater=100//volume of hardwater titrated(ml)//
EDTA_hardwater=21//volume used to titrate unknown hardwater//
CaCO3_equivalent=strength*volume//in terms of mg//
one_ml_EDTA=CaCO3_equivalent/EDTA//in terms of CaCO3 equivalent//
titrate_equivalent=one_ml_EDTA*EDTA_hardwater/volume_hardwater//CaCO3 equivalent of titrated volume//
Hardness=titrate_equivalent*1000//in terms of mg/lit or ppm//
printf("\nHardness of water is %.1f mg/L",Hardness);