Cd(s)/Cd(NO3)^2(aq) // AgNO^3 (aq)/ Ag(s)

chemical equations for anode and cathode

Anode:

At the anode, oxidation occurs. For the given reaction, Cd solid is being oxidized to Cd2+ ions:

Cd(s) → Cd2+(aq) + 2e-

Cathode:

At the cathode, reduction occurs. For the given reaction, Ag+ ions from AgNO3(aq) are being reduced to Ag solid:

Ag+(aq) + e- → Ag(s)