Generalize the derivation of the lensmaker's formula (Equation $31.7$ ) to show that a lens of refractive index $n_{\text {lens }}$ in an external medium with index $n_{\text {ext }}$ has focal length given by
$$
\frac{1}{f}=\left(\frac{n_{\text {lens }}}{n_{\text {ext }}}-1\right)\left(\frac{1}{R_{1}}-\frac{1}{R_{2}}\right)
$$