A capacitor of capacitance 10mF is charged up a potential difference of 2V and then the cell is removed. Now it is connected to a cell of emf4V and is charged fully. In both cases the polarities of the two cells are in the same directions. Total heat produced in the second charging process is :