The object and the image distances are 10 cm & 30 cm respectively for a lens. Image is formed on same side of the object then the focal length is
Given below
Image distance v = −30 cm, (using the sign conventions)
Object distance u = −10 cm (using the sign conventions)
1v−1u=1f
1−30−1−10=1f
f=15 cm
Here, positive sign shows that the lens is convex.