An erect image 2.0 cm high is formed 12 cm from a lens, the object being 0.5 cm high. Find the focal length of the lens.
Since the size of image is greater than that of the object and a virtual image is being formed, the lens is convex in nature.
Now, v=−12 cm, hi=2 cm and ho=0.5 cm
Magnification, m=hiho=vu
⇒20.5=vu
⇒u=v4=−3 cm
Using the lens formula, 1f=1v−1u=1−12−1−3=14
∴f=4 cm