find the equivalent resistant of the circuit