Snell's Law relates the indices of refraction n of the two media to the directions of propagation in terms of the angles to the normal. Snell's law can be derived from Fermat's Principle or from the Fresnel Equations.
If the incident medium has the larger index of refraction, then the angle with the normal is increased by refraction. The larger index medium is commonly called the "internal" medium, since air with n=1 is usually the surrounding or "external" medium. You can calculate the condition for total internal reflection by setting the refracted angle = 90° and calculating the incident angle. Since you can't refract the light by more than 90°, all of it will reflect for angles of incidence greater than the angle which gives refraction at 90°.
Lloyd's mirror This is another method for finding the wavelength of light by the division of wavefront. Light from a slit So falls on a silvered surface at a very small grazing angle of incidence as shown in the diagram (Figure 1). A virtual image of So is formed at S1. Interference occurs between the direct beam from So to the observer (0) and the reflected beam The zeroth fringe will be black because of the phase change due to reflection at the surface. Application An interesting application of this effect may be observed when a helicopter flies above the sea near a radio transmitter. The helicopter will receive two signals: (a) one signal directly from the transmitter and (b) a second signal after reflection from the sea As the helicopter rises the phase difference between the two signals will alter and the helicopter will pass through regions of maxima and minima. Lloyd's mirror Experiment Lloyd’s Mirror is used to produce two-source interference...