What is the lateral shift of a ray refracted through a parallel-sided glass slab of thickness \( 'h' \) in terms of the angle of incidence \( 'i' \) and angle of refraction \(' r '\), if the glass slab is placed in air medium?
\( \frac{h \sin(i - r)}{\cos r} \)
\( \frac{h \tan(i - r)}{\tan r} \)
\( h \)
\( \frac{h \cos(i - r)}{\sin r} \)