A series circuit consisting of a capacitor with capacitance \(C\), a resistance \(R,\) and a coil with inductance \(L\) and negligible active resistance is connected to an oscillator whose frequency can be varied without changing the voltage amplitude. Find the frequency at which the voltage amplitude is maximum (a) across the capacitor; (b) across the coil.