Comparison of Resistor and Inductor in Circuits