An oscillating circuit consists of a capacitor with capacitance and a coil with inductance and active resistance . Find the ratio of the energy of the coil's magnetic field to that of the capacitor's electric field at the moment when the current has the maximum value.