summaryrefslogtreecommitdiff
path: root/3718/CH14/EX14.9/Ex14_9.sce
blob: 913c70ab78f98e2834400d48dc7b3099de7980f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter 14: Water Treatment
//Problem: 9
clc;

//Given Constants For Specific Elements
Fe = 56
S = 32
O = 16

//Solution
hardness = Fe + S + O * 4
hardn= (hardness * 215 )/100

mprintf("215 ppm of hardness is : %.1f ppm of FeSO4",hardn)