Step 1: Expressing the wavelength of the beam of light in the mediums A and B.
It is already given that medium A has x number of waves and medium B has y number of waves in the same distance which is that of in A.
So let the d be that distance in medium A and medium B. So, then the wavelength of light in the medium A will be \(\lambda _{A}=\frac{d}{x}\)------(1)
Alike, we have the wavelength of light in the medium B as \(\lambda _{B}=\frac{d}{y}\)------(2)
So, now it is given that n1 and n2 are the refractive indices of the mediums A and B respectively.
Step 2: Expressing the refractive indices of the two mediums A and B.
The refractive index of medium A can be expressed as: \(n _{A}=\frac{\lambda _{0}}{\lambda _{A}}\); λ0 is the wavelength of light in the vacuum and it is a constant.
⇒ \(n _{A}\propto\frac{1}{\lambda _{A}}\)-------(3)
So, now the refractive index of medium B can be expressed as \(n _{B}=\frac{\lambda _{0}}{\lambda _{B}}\).
⇒ \(n _{B}\propto\frac{1}{\lambda _{B}}\)-------(4)
Step 3: Using equations (3) and (4) we can obtain the relative refractive index of medium A with that of medium B.
So the refractive index of medium A relative to that of B can be expressed as: \(n_{AB}=\frac{n_{A}}{n_{B}}\)-------(5)
So, now using the equation (3), (4) and equation (5) becomes, \(n _{AB}=\frac{\lambda _{B}}{\lambda _{A}}\)-------(6)
After substituting equations (1) and (2) in equation (6) we get,
\(n_{AB}=\frac{(\frac{d}{y})}{(\frac{d}{x})}\)
⇒ \(n_{AB}=\frac{x}{y}\)
Therefore, the refractive index of medium A with respect to that of medium B is \(n_{AB}=\frac{x}{y}\)
Therefore, the correct option is ‘D’.
A transparent block A having refractive index $ \mu_2 = 1.25 $ is surrounded by another medium of refractive index $ \mu_1 = 1.0 $ as shown in figure. A light ray is incident on the flat face of the block with incident angle $ \theta $ as shown in figure. What is the maximum value of $ \theta $ for which light suffers total internal reflection at the top surface of the block ?
The circuit shown in the figure contains two ideal diodes \( D_1 \) and \( D_2 \). If a cell of emf 3V and negligible internal resistance is connected as shown, then the current through \( 70 \, \Omega \) resistance (in amperes) is: 
Optics, deals with the determination of behaviour and the properties of light, along with its interactions with the matter and also with the instruments that are used to detect it.
Ray optics is also known as the geometrical optics and it is a branch of science which describes light propagation.
Reflection is the change in direction of light at an interface in-between two different media so that the wave-front returns into a medium from which it was originated.
Speed of light is the rate at which the light travels in free space.
A phenomenal change in image formed when the light is passed from one medium to another which is called Refraction.
Total Internal Reflection is the reflection of light when the light ray enters into a rarer medium from a denser medium and the angle of incidence is higher than the critical angle of incidence then that light ray will be reflected back to the denser medium.
Read More: Ray Optics and Optical Instruments