A capacitor of capacity C is charged to a potential difference V and another capacitor of capacity 2C is charged to a potential difference 4V. The charging batteries are disconnected and the two capacitors are connected with reverse polarity (i.e., positive plate of first capacitor is connected to negative plate of second capacitor). The heat produced during the redistribution of charge between the capacitors will be :