The correct option is C 100 μJ
In position-1, initial maximum current is
i0=VR=105=2 A
At the given time, current is 1 A which is half of the above value. Hence, at this is instant capacitor is also charged to half of the final value of 5 V.
Now, it is shifted to position-2 where in steady state it is again charged to 5 V but with opposite polarity.
Ui=Uf=12CV2 {∵V=5V}
So, total energy supplied by the lower battery is converted into heat. But double charge transfer (from the normal) takes place from this battery.
⇒Heat produced=Energy supplied by the battery
⇒ΔH=(Δq)V=(2CV)(V)=2CV2
⇒ΔH=2×2×10−6×(5)2
⇒ΔH=100×10−6 J
⇒ΔH=100 μJ
Hence, the correct answer is (C).