summaryrefslogtreecommitdiff
path: root/1478/CH2/EX2.18.7/2_18_7.sce
blob: 6bffb35a33c5c6f66da68926432b79d4f0fd7ec2 (plain)
1
2
3
4
5
6
7
8
9
10
//water and its treatment//
//example 2.18.7//
clc
Hardness_ppm=304//ppm in terms of CaCO3//
Cl=0.07*Hardness_ppm//0.07 °Clarke =1 ppm//
Fr=0.1*Hardness_ppm//0.1 °French =1 ppm//
mgperlit=Hardness_ppm
printf("Hardness in terms of °Clarke %.2f °Cl",Cl);
printf("\nHardness in terms of °French %.1f °Fr",Fr);
printf("\nHardness in terms of mg/lit %.0f mg/l",mgperlit);