summaryrefslogtreecommitdiff
path: root/2495/CH8/EX8.16.3/Ex8_16_3.sce
blob: 2be0316c28ddd4d9e0a16d65586957d52d815229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
clc
m=0.01021;//in mol/kg
m1=m*(2*m)^2
Ecell=1.1566;//in V
E_RHE=(0.222-(-0.762));//in V
RT_F=0.05915;//
K=10^((-2/(3*RT_F))*((Ecell-E_RHE)+((RT_F/2)*log10(m1))));//ion activity coefficient
printf('K=%.4f',K)

//There are some errors in the solution given in textbook
//page 474