blob: 8e4483a969585f827d1d681b5bcc0e775847fac5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//calculating Kc
//Example 6.12
clc
clear
//E'cell=0.0591*logKc/n
Ec=0.77
Ea=0.54
Ecell=Ec-Ea
n=2
Kc=10^(n*Ecell/0.059)//equilibrium constant
printf('Thus the equilibrium constant for the reaction = %e',Kc)
|