This calculator will help you calculate the relation between object distance and image distance with two convex lens and magnification.

www.simtrum.com

$V_1$=$\frac{u_1 * f_o}{u_1-f_o}$      $M_1$=$\frac{f_o}{u_1-f_0}$


For L$\lt V_1$,

$U_2$=$V_1-L$      $M_2$=$\frac{f_e}{f_e+U_2}$

$V_2$=$M_2 U_2$      $M$=$M_1 * M_2$


For $V_1 \lt L \lt V_1+f_e$,

$U_2$=$L-V_1$      $M_2$=$\frac{f_e}{f_e+V_1-L}$

$V_2$=$\frac{f_e U_2}{U_2-f_e}$      $M$=$M_1 * M_2$


For ($V_1+f_e \lt L \lt V_1+2 f_e$)     ($L \gt V_1+2 f_e$),

$U_2$=$L-V_1$      $M_2$=$\frac{f_e}{L+V_1-f_e}$

$V_2$=$\frac{f_e U_2}{U_2-f_e}$      $M$=$M_1 * M_2$



Input


Object Distance, $U_1$:
m

Focal Length of the eyepiece, $f_e$:
m
Distance between the objective lens and the eyepiece, $L$:
m


Focal Length of the obective lens, $f_o$:
m


Output
Image Distance, $V_2$:
m

Total Magnification, M: