Figure 5.16 illustrates an interferometer used in measurements of refractive indices of transparent substances. Here S is a narrow slit illuminated by monochromatic light with wavelength λ = 589 nm, 1 and 2 are identical tubes with air of length l = 10.0 cm each, D is a diaphragm with two slits. After the air in tube 1 was replaced with ammonia gas, the interference pattern on the screen Sc was displaced upward by N = 17 fringes. The refractive index of air is equal to n = 1.000277. Determine the refractive index of ammonia gas.