A capacitor of capacitance `C` which is initially charged up to a potential differnce `epsilon` is connected with a battery of emf `epsilon` such that the positive terminal of the battery is connected with the positive plate of the capacitor. Find the heat loss in the circuit the process of charging.