Energy structurally sloshes back and forth between the electric field of the capacitor and the magnetic field of the inductor, perfectly analogous to a frictionless mass-spring system.
Energy Components
$U_E(t) = \frac{q^2}{2C}$: Electric Potential Energy. Maximum when current is zero.
$U_B(t) = \frac{1}{2}Li^2$: Magnetic Potential Energy. Maximum when charge is zero.
Tags
LC circuitinductorcapacitoroscillations
Dynamic System Energy Bar
$U_E$
$U_B$
Inductance ($L$) 50 mH
Capacitance ($C$) 50 $\mu$F
Initial Voltage ($V_0$) 10 V
When stopped, the capacitor charges fully via the battery. When started, it disconnects from the DC source and forms a closed loop with the inductor.