Two light rays having the same wavelength λ in vacuum are in phase initially. Then the first ray travels a path L1 through a medium of refractive index n1 while the second ray travels a path of length L2 through a medium of refractive index n2. The two waves are then combined to produce interference. The phase difference between the two waves is: