summaryrefslogtreecommitdiff
path: root/2465/CH17/EX17.2/Ex17_2.sce
blob: 60ecef2e8f2fbd4d2e59374b152c4da607a1c737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter-17,Example 2,Page 369
clc();
close();

m1= 136   // mass of FeSO4

m2 = 100  //mass of CaCO3

//for 100 ppm hardness FeSO4 required per 10^6 parts of water is 136 parts
//for 200 ppm hardness

amt= m1*200/m2

printf("the amount of FeSO4 required is = %.f mg/l",amt)