The velocity of sound in a gas in which two waves of wavelengths 50 cm and 50.5 cm produces 6 beats per second is?