what happens when a resistor is used to heat a brass rod and allowed to cool?