Thermodynamic analysis of electrodeposition of copper from copper sulphate