summaryrefslogtreecommitdiff
path: root/1385/CH9/EX9.16/9_16.sce
blob: 6b61cd65618a4b46745194410ffc36c770891b35 (plain)
1
2
3
4
5
6
7
8
9
clc
//initialisation of variables
c= 1 //M
Kb= 5.3*10^-5
pKw= 14
//CALCULATIONS
pH= pKw+0.5*log10(Kb)+0.5*log10(c)
//RESULTS
printf (' pH of solution = %.2f ',pH)