capacitor and resistor difference difference between resistor inductor and capacitor 28 images a circuit is constructed with