blob: 90551f959a47bafb7e2e16060aa162b6bcb794bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Chapter-8,Example 5,Page 196
clc();
close();
pKa=4.74
salt=0.1
acid=0.1
//according to Henderson equation pH of buffer solution
pH = pKa + log10(salt/acid)
printf('the pH of buffer solution is pH = %.2f ',pH)
|