summaryrefslogtreecommitdiff
path: root/1427/CH1/EX1.14/1_14.sce
blob: 470b11f102bd496d95cfbaa3b9fab1d3cc854337 (plain)
1
2
3
4
5
6
7
8
//ques-1.14
//Calculating Hardness of water sample
clc
V=100;//volume of water sample (in mL)
v=12;//volume of HCl neutralized
N=0.12;//normality of HCl
h=(v*N)*(1000/V)*50;//hardness
printf("The hardness is temporary with value %.0f ppm.",h);