Answer
See answer.To make the water in a pan slosh back and forth, you shake the pan at the natural frequency for water waves in that pan.
Work Step by Step
Shaking the system at its natural frequency causes it to resonate, and form a standing wave pattern. The amplitude of the water’s oscillation gets large, i.e., it sloshes.