A charge of 40 C passes through a circuit every 5 s. If the circuit can generate 40 W of power, what is the circuit's resistance?