The speed of a sound wave depends on....
A: both the medium's temperature and the density of the medium
B: the density of the medium
C: the medium's temperature
D: the frequency