A ray of light travelling in a transparent medium falls on a surface separating the medium from air