According to the question,
The actual depth of the pin is d = 15 cm
Apparent depth of the pin is = d’
Refractive index of glass is
=1.5
here, the ratio of actual depth to the apparent depth and the refractive index of the glass are equal.
i.e.
Therefore we have –
d’=
=
= 10cm
The distance at which the pin appears to be raised is given as –
=d’-d=15-10
= 5cm
The distance is independent of the location of the slab when the angle of incidence is small.