A certain oscillating circuit consists of a capacitor with capacitance a coil with inductance and active resistance and a switch. When the switch was disconnected, the capacitor was charged; then the switch was closed and oscillations set in. Find the ratio of the voltage across the capacitor to its peak value at the moment immediately after closing the switch.