calculate the resistance of this resistor