An unknown circuit, consisting of independent emf sources and resistors, is placed into a black box with two terminals A and B. When an ideal ammeter is connected between A and $\mathrm{B}$, its reading is $I$. When a resistor $R$ is connected instead, the current through that resistor is $i$. What would be the reading $V$ of an ideal voltmeter connected to $\mathrm{A}$ and $\mathrm{B}$ ?