To solve this problem, let's consider the working principle of optics where the apparent depth and actual depth relationship is observed through a medium with a specific refractive index.
The formula for apparent depth \(d'\) when looking perpendicularly through a medium with refractive index \(n\) is given by:
d' = \frac{d}{n}
Where:
In the given problem:
When viewing from both sides of the slab, each side will give a different apparent depth. For each view, the actual depth from that side will sum up to the thickness of the slab 't'. Let's calculate:
For the first side:
d_1 = n \times d_1' = 1.5 \times 5\, \text{cm} = 7.5\, \text{cm}
For the opposite side:
d_2 = n \times d_2' = 1.5 \times 3\, \text{cm} = 4.5\, \text{cm}
The actual depths sum up to the actual thickness of the slab. Thus:
d_1 + d_2 = t
7.5\, \text{cm} + 4.5\, \text{cm} = 12\, \text{cm}
Thus, the thickness of the slab is 12 cm.
Therefore, the correct answer is 12.