Calculate the velocity of sound in the gas, if waves of wavelength 1m and 1.01m produce 12 beats in 3 seconds :