Effect of Density on Speed of Sound in Gases