During electrolysis, 2.0 g of a metal is deposited using a current of 0.5 A…