Step 1: Understanding the Concept
The potential drop across an inductor in the direction of current is \(L\dfrac{dI}{dt}\) and across a resistor is \(IR\).
Step 2: Going from B to A
Across the battery from its negative to positive plate the potential rises by \(12\,\text{V}\).
Step 3: Inductor and resistor
Across the inductor: \(L\dfrac{dI}{dt}=6\times(-1)=-6\,\text{V}\). Across the resistor: \(IR=2\times12=24\,\text{V}\).
Step 4: Calculation
\(V_A-V_B=12+(-6)+24=30\,\text{V}\), option (A).
Final Answer:
The potential difference between A and B is 30 V.
\[ \boxed{\text{(A) }30\text{ V}} \]