user
How does the temperature affect the speed of sound?

assistant
The speed of sound is directly proportional to the temperature of the medium. As the temperature increases, the speed of sound increases.