If a capacitor is charged by connecting it to a battery, then the ratio of work done by the battery and the energy stored in the capacitor is
Show Hint
While charging a capacitor,
\[
\boxed{
W_{\text{battery}}=CV^2,
\qquad
U=\frac12CV^2.
}
\]
Half of the work done by the battery is stored in the capacitor and the remaining half is dissipated as heat.