An isolated capacitor with capacitance 2 farads has been charged to a voltage of 5 volts. The capacitor is then connected in series with a 2 kilo-ohm resistor. After discharging for a long time, how much heat in joules has been dissipated through the resistor?