A capacitor discharges through a resistance. The stored energy U0