A 4 μF capacitor is charged to 400 V and then its plates are joined through a resistance. The heat produced in the resistance is