At steady state charge stored on the capacitor, qmax=CV =500×10−6×100 =5×10−2C
Energy stored in the capacitor, Umax=
qmax2
2C
Now, when electrostatic energy of capacitor converted to magnetic field energy then all energy of capacitor is transferrd to the inductor. ∴ Maximum energy stored in the inductor ULmax=