Step 1: Understanding the Concept
In a medium of refractive index \(\mu\), the wavelength becomes \(\dfrac{\lambda}{\mu}\), so fringe positions shrink by \(\mu\).
Step 2: Position in air
The 5th dark fringe is at \(x=\dfrac{(2\times5-1)}{2}\dfrac{\lambda D}{d}=4.5\dfrac{\lambda D}{d}\).
Step 3: Position in liquid
The 8th bright fringe is at \(x'=8\dfrac{\lambda D}{\mu d}\).
Step 4: Equate
\(\dfrac{8}{\mu}=4.5\), so \(\mu=\dfrac{8}{4.5}=1.77\). This is option (B).
Final Answer:
The refractive index of the liquid is about 1.77.
\[ \boxed{\text{(B) }1.77} \]