When switch $S$ in Fig. $\mathbf{E} 25.29$ is open, the voltmeter $\mathrm{V}$ reads $3.14 \mathrm{~V}$. When the switch is closed, the voltmeter reading drops to $2.93 \mathrm{~V}$, and the ammeter A reads 1.67 A. Find the emf, the internal resistance of the battery, and the circuit resistance $R$. Assume that the two meters are ideal, so they don't affect the circuit.