Here's a problem to solve: Which of the following has the greatest effect on the speed at which sound travels through a gas?

Among the 4 following options, which is the correct answer?

- A: the ability of electrons to travel through a medium
 
- B: the frequency of the wave
 
- C: the amplitude of the wave
 
- D: the proximity of the molecules of the medium
 