summaryrefslogtreecommitdiff
path: root/3428/CH15/EX9.15.8/Ex9_15_8.sce
blob: b7020b3bb15d0a26953e543aca07483be22ca686 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Section-9,Example-4,Page no.-E.9
//To calculate the equilibrium constant for the reaction.
clc;
E0_Sn=-0.14
E0_Pb=-0.13
E0=E0_Sn-E0_Pb
n=2
F=96500
R=8.314
T=298
K=(n*F*E0)/(R*T)
//K_eq=antilog(K)
K_eq=%e^K
disp(K_eq,'equilibrium constant for the reaction')