is connected with a battery of emf e. Find the heat dissipated in the circuit during the process of charging.