As a wave moves through a medium, particles are displaced and