summaryrefslogtreecommitdiff
path: root/1427/CH6/EX6.14/6_14.sce
blob: 4f26e7f41ef6eab13ef4e43a18beb83439a83c67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//ques-6.14
//Calculating equilibrium constant for a reaction at 300 K
clc
e1=0.355; e2=0.3704;//emf of reduction reactions (in V)
T=300;//temperature (in K)
E=e2-e1;
n=1;//number of electrons used
F=96500;//(in C)
G=-n*F*E;
z=-G/(2.303*8.314*T);
//On solving, log10(K) = z
K=1.8;
printf("The equilibrium constant for the given reaction is %.1f.",K);