A generator is joined to a resistor and an inductor of 0.038 H in series. The rms voltage across the generator is 7.8 V. If the generator frequency is 160 Hz, the rms voltage across the inductor is 3.5 V. Find out the resistance of the resistor in the circuit.