We will use the formula of Ohm's Law, which states that the current through a conductor between two points is directly proportional to the voltage across the two points.
![V=RI](https://img.qammunity.org/2023/formulas/mathematics/high-school/n8x4n1cnqa3rrppitxsfk930hn42h360w5.png)
where
V is the voltage
R is the resistance
I is the current
In our case we have
V=12 V
I= 2 A
we need to find the resistance, so we need to isolate the R in the formula
![R=(V)/(I)](https://img.qammunity.org/2023/formulas/physics/college/58rgrjooatmu3x2o7lod65zu15oehjjsfu.png)
Then we substitute the values
![R=(12)/(2)=6\Omega](https://img.qammunity.org/2023/formulas/physics/college/or3qm6byafwl4lom0er2ip4jkh44w969ow.png)
therefore
the resistance of a circuit in which a 12-volt battery produces a current of 2 amps be 6 ohms.