A motor drives a sliding gate along a track. The gate is brought to rest when it reaches a cushioned stop.
Explain the energy changes as the gate moves and is brought to rest.