summaryrefslogtreecommitdiff
path: root/3428/CH15/EX9.15.2/Ex9_15_2.sce
blob: 6937c8b8bae49781522517945f07e8c57a191a90 (plain)
1
2
3
4
5
6
7
8
9
//Section-9,Example-2,Page no.-E.5
//To calculate the potential of electrochemical cell at 25 degree celcius.
clc;
E0_cell=-0.34
C_Cu=0.50                 //concentration(Cu/Cu_2+)
P_H2=0.95                  //pressure(H+/H_2)
H=0.01                     //concentration(H+/H_2)
E_cell=E0_cell-((0.0591/2)*log10((C_Cu*P_H2)/H^2))
disp(E_cell,'Potential of cell(V)')