Which equation connects the focal length, f, the position of the viewed object, XOXO, and the position of the image, Xi, for a convex lens?

The equation is:

1/f = 1/XOXO + 1/Xi

where f is the focal length, XOXO is the position of the viewed object, and Xi is the position of the image formed by the convex lens.

The equation that connects the focal length (f), the position of the viewed object (XOXO), and the position of the image (Xi) for a convex lens is called the lens formula. It is given by:

1/f = 1/XOXO + 1/Xi

where,
f = focal length of the lens (measured in meters),
XOXO = position of the viewed object (measured in meters),
Xi = position of the image formed by the lens (measured in meters).