//Section-9,Example-1,Page no.-E.32 //To calculate emf of the given cell. clc; n=2 C_2=0.1 C_1=0.01 E_cell=(0.0591/2)*(log10(C_2/C_1)) disp(E_cell,'Emf of the given cell')