If a current of 8A passing through a circuit generates 4W of power, what is the resistance of the circuit?