Speed of Sound in a Gas
Sound travels through a gas at a speed set by its temperature and properties — faster in hot, light gases.
The speed is a = √(γ·R·T). where γ is the heat-capacity ratio, R the specific gas constant and T the absolute temperature.
Apply the ideal-gas speed-of-sound formula.
Results
Air at 15 °C carries sound at about 340 m/s. The speed rises with the square root of temperature, which is why it changes with altitude and weather.