Concept:Snell's law relates the refractive index of a medium to the angles of incidence and refraction.Explanation:From Snell's law, n=sinrsini.From the diagram, the angle of refraction is r=90∘−i.Using sin(90∘−i)=cosi, we get:n=cosisini.Therefore, n=tani.This corresponds to option A.Answer:A. n=tani