and the other half goes into the discharging of the
capacitor.
David - please think carefully about what you have just said. If the capacitor
discharges it loses its energy - all of it. Please reread what John posted -
It can't be explained more clearly.