The same current is passed for the same time through solutions of AgNO3 and CuSO4…