Question
Question: In the circuit shown, the ammeter reading is zero. Then, the value of the resistance R is: 
Second law is also called Kirchhoff's voltage law (KVL)
Now, as current through ammeter is zero. So, all the current passing through 500Ωresistor passes through R.
Applying KVL to loop I, we get
500i+12+Ri=0
Also potential across R is −2V due to external battery attached
Thus, iR=−2volt
So, equation (I) becomes
500i+12+(−2)=0 500i+10=0 500i=−10 i=500−10 i=50−1 A
Now, iR=−2volt
50−1×R=−2 R=−2×−50 R=100Ω
Hence, option (B) is the correct one.
Note: Remember that while applying KVL, sign conventions is to be followed
Also, iR=−2V
Because as current flows from A to B according to figure and A is connected to −veterminal of battery while B to positive terminal of battery. So,
VAB=VA−VB
=(−)−(+)=lower value − higher value
=−ve.