( ( ( The speed ) ( of ( a ( sound wave ) ) ) ) ( ( depends ( on ( ( the properties ) ( of ( ( the medium ) ( ( through which ) ( ( ( it moves ) and ) ( ( the ( only ( way ( to ( change ( the speed ) ) ) ) ) ) ( is ( to ( change ( ( the properties ) ( of ( the medium ) ) ) ) ) ) ) ) ) ) ) ) ) ) . ) )
(ROOT (S (NP (NP (DT The) (NN speed)) (PP (IN of) (NP (DT a) (JJ sound) (NN wave)))) (VP (VBZ depends) (PP (IN on) (NP (NP (DT the) (NNS properties)) (PP (IN of) (NP (NP (DT the) (NN medium)) (SBAR (WHPP (IN through) (WHNP (WDT which))) (S (S (NP (PRP it)) (VP (VBZ moves))) (CC and) (S (NP (DT the) (JJ only) (NN way) (S (VP (TO to) (VP (VB change) (NP (DT the) (NN speed)))))) (VP (VBZ is) (S (VP (TO to) (VP (VB change) (NP (NP (DT the) (NNS properties)) (PP (IN of) (NP (DT the) (NN medium)))))))))))))))) (. .)))
The speed of a sound wave depends on the properties of the medium through which it moves and the only way to change the speed is to change the properties of the medium.
(ROOT (S (NP (NP (DT The) (NN speed)) (PP (IN of) (NP (NN sound)))) (VP (VBZ depends) (PP (IN on) (NP (NN medium)))) (. .)))
The speed of sound depends on medium.