1 2 3 4 5 6 7
//Section-9,Example-1,Page no.-E.13 //To find the emf of the cell. clc; E0_cathode=0.78 E0_anode=-0.40 E0=E0_cathode-E0_anode disp(E0,'Emf of the cell')