blob: a349dff624e735b37f1ef77606f4b106a89bf2f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc
//initialisation of variables
e= 0 //ev
e1= -0.37 //ev
k= -0.05916 //j/mol
a= 0.02
a1- 0.01
p= 730 //mm of Hg
//CALCULATIONS
E= (e-e1)-k*log10(a*sqrt(p/760)/(a1*a))
//RESULTS
printf (' cell potential = %.2f volt',E-0.03)
|