Which of the following has the greatest effect on the speed at which sound travels through a gas? (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