A beaker contains water up to a height h1 and K oil above water up to another height h2. Find the apparent shift in the position of the bottom of the beaker when viewed from above. Refractive index of water is μ1 and that of K.oil is μ2.
(1−1μ1)h1+(1−1μ2)h2.
The apparent shift of the bottom due to the water is
Refractive index=μ1,μ2
Thickness of the slab= h
Vertical shift=△h
μ=hh−△h
(h−△h)×μ=h
(μ−1)×h=μ△h
△h=(1−1μ)×h
Hence
△x1=(1−1μ1)h1
and due to the K.oil is
△x2=(1−1μ2)h2.
The total shift = △x1+△x2
=(1−1μ1)h1+(1−1μ2)h2.