Use the Gaussian thin-lens formula to find image distance, magnification, or focal length.
輸入物距與焦距,按 1/f = 1/u + 1/v 計算像距與放大率,並判斷實像/虛像。