summaryrefslogtreecommitdiff
path: root/2465/CH8/EX8.1/Ex8_1.sce
blob: 9917fc3f094ad5dbdbe752569adc0ac900430efd (plain)
1
2
3
4
5
6
7
8
9
10
11
//Chapter-8,Example 1,Page 195
clc();
close();

OH=2*0.005   //in mol/litre

pOH=-log10(OH)

pH=14-pOH

printf('the pH of Ca(OH)2 is pH = %.f ',pH)