Which of the following affects the speed of sound in air?