A 10 microfarads capacitor is charged to a voltage of 200 V and discharged thru a resistor. How much energy is given to the resistor during the discharge?