Lens in Different Media
This page is under construction  the Javascript calculation will be added.
Tracing the vergence is a convenient way to locate the image formed by a thick lens in media of different indices of refraction. The Cartesian sign convention is used.
The vergences can be calculated from the lens parameters and the object distance.The change in vergence when the light encounters a refracting surface is equal to the power of the surface:
Using the Cartesian sign convention, the object distance is typically a negative number since it points opposite to the direction of light travel.
The surface powers of the lens are determined by the radii of curvature.
 =  
 =  
The vergences can then be calculated.
 =  
 =  
 =  
 =  
The exit vergence from the final surface determines the image distance with respect to that surface.
The equivalent power for the thick lens can be calculated from Gullstrand's equation:
 =  
Note that the calculation does not take into account the change in lens thickness with the angle of the incoming ray. It is typical to do the calculation only for the paraxial rays where the departure from full thickness is negligible.
