which of the following does the speed of sound wave depends​