The speed of sound ([latex]c[/latex]) in a perfect gas is determined by its thermodynamique properties, not its pression or density alone. The formula is [latex]c = \sqrt{\gamma R_s T}[/latex], where [latex]\gamma[/latex] is the heat capacity ratio ([latex]c_p/c_v[/latex]), [latex]R_s[/latex] is the specific gas constant, and [latex]T[/latex] is the absolute temperature. Thus, sound travels faster in hotter gas.
