A capacitor C is charged to a potential difference V and another capacitor of capacity 2C is charged to a potential difference 2V. The charging batteries are disconnected and the the two capacitors are connected to each other in parallel with reverse polarity. The energy lost in this process will be