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