In a DC circuit , consisting a cell and a capacitor.
capacitor will store energy[0.5QV J], while the battery will deliever energy [QV]
it is suggested that half of energy delievered by the cell is dispated in forms of internal energy or electromangnetic wave( Even assume there is no resistance in the circuit)
but in a LC circuit
energy is conserved if there is no resistance
why energy will not be lost in each charing capacitor process, even there is no resistance in the circuit.