Velocity of sound in different mediums