Speed of sound and temperature relation