1. The problem statement, all variables and given/known data How much heat is generated in the circuit after the switch is shifted from position 1 to 2? 2. Relevant equations 3. The attempt at a solution Let the charge on the right cap be Q(+Q on bottom plate) , on middle be Q-Q1(-Q+Q1 on bottom plate) and Q1(-Q1 on bottom plate) on left plate . Ceq = C(C+C0)/(2C+C0) Q=VC(C+C0)/(2C+C0) Q1=VC/(2C+C0) Q-Q1 = VCC0/(2C+C0) Now when the switch is at position1,charge on the bottom plate of left cap is -Q1 and after the switch is moved to position 2 charge is -Q i.e charge Q-Q1 has flown through the battery .In other words negative charge of magnitude Q-Q1 flows from positive to negative terminal of battery(current flows from negative to positive terminal) i.e work done by battery is (Q-Q1)V . Work done by battery = Change of energy stored in the capacitors + heat dissipated . So,heat dissipated = Work done by battery - Change of energy stored in the capacitors . Change of energy stored in the capacitors will be zero . Heat dissipated = Work done by battery = (Q-Q1)V = V2CC0/(2C+C0) . Is the answer correct ? Have I approached the problem correctly ?