blob: d61d9a19da572d3eeba91d2b8468ef0c05327a55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//computation of standard emf of a cell
clear;
clc;
printf("\t Example 19.3\n");
E0cathode=0.8;//standard electrode potential of cathode(Ag+/Ag), V
E0anode=-2.37;//standard electrode potential of anode(Mg2+/Mg), V
E0cell=E0cathode-E0anode;//standard emf of the cell, V
printf("\t the standard emf of the cell is : %4.2f V\n",E0cell);
//End
|