To solve a problem using lens formula, if object distance, focal length and height of the object is given, the height of the image can be calculated.
Always true
We have total five variables:
u (object distance)
v (image distance)
f (focal length)
h0 (height of the object) and
hi (height of the image)
We have two equations:
1v−1u=1f (lens formula) hih0=vu (magnification formula)
So, if three of the quantities are known; the other two can be calculated.