A solution containing one mole per litre each of Cu(NO3)2,AgNO3,Hg2(NO3)2,Mg(NO3)2 is being electrolysed by using inert electrodes.The values of standard potentials are E0Ag+/Ag=0.8V,E0Hg+2/Hg=0.79V,E0Cu+2/Cu=0.34V,E0Mg+2/Mg=−2.3V with increasing voltage the sequence of deposition of metals on the cathode will be