The speed of a pressure wave through a pipe depends upon