This simulation allows you to change the focal length and switch between convex and concave lenses to understand the image formation by either of them. Change the u and v to get real and inverted or virtual and erect images, lens formula application, and magnification as well.