blob: eeab83b14fd1fbec31d3c7a76bd024ec5d77612b (
plain)
1
2
3
4
5
6
7
8
9
|
//calculating hardness
//Example 1.1
clc
clear
//100gm of CaCO3 = 136gm of CaSO4
m=204//mass of the substance
wt=136//molecular mass
Eq=(m*100)/wt//Equivalents of CaCO3
printf('Thus Equivalents of CaCO3 = %3.2f mg/L or ppm',Eq)
|