blob: 02ee937e102a7190806719df0b762bb557856638 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clc
//initialisation of variables
E= -0.0029 //volts
V= 0.1 //volts
V1= 0.05 //volts
f= 0.05916 //J/mol coloumb
T= 25 //C
F= 96500 //coloumb
R= 8.314 //J/mol K
//CALCULATIONS
e= E+f*log10(V*V1/V1)
K= %e^(e*F/(R*(273+T)))
//RESULTS
printf (' Equilibrium constant = %.1e ',K)
|