Mechanical waves can travel only though a _______________ such as a solid, liquid, or gas.

vacuum

prism

medium

anemometer