Calculate the resistance of a resistor when the potential difference across it is V and the current through it is A