find the velocity of sound