Light waves propagate along the length of a pipe containing a perfect vacuum and whose end caps are perfect reflectors. A standing-wave pattern is formed with frequency f and wavelength λ. When a gas, with index of refraction n, is introduced into the pipe, which of the following changes occurs?
(a) λ increases; (b) f increases;
(c) λ decreases; (d) f decreases.