結果 : what is a resistor and what is its function in a circuit