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