In the circuit shown, the reading of ammeter is 2 A. The ammeter has negligible resistance. The value of R equals