blob: 00e205f6415b28469d592466a9d7133145da173f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear
clc
RT_F=0.05913;//in V
m_LHC=0.02;//
gamma_LHC=0.320;//
m_RHC=0.2;//
gamma_RHC=0.110;//
E1=0.370;//in V
Ecell_1=(-E1)*(RT_F*log10((m_LHC*gamma_LHC)/(m_RHC*gamma_RHC)));//in V
printf('Ecell_1=%.4f V',Ecell_1)
Ecell_2=(Ecell_1)/(2*E1);//in V
printf('\nEcell_2=%.5f V',Ecell_2)
//page 536
|