Calculations of variables in image generation in a diverging lens