The problem considered here is that of a parallelepiped-shaped box, partially filled with liquid, that slides on a flat surface. The box is accelerated with a constant acceleration during a given time and then decelerated because of the frictional force. Due to the forces acting on the liquid during both phases (acceleration and deceleration), sloshing of the liquid takes place inside the container and such sloshing effects strongly affect the system dynamics. A simple experimental apparatus has been designed to analyse the sloshing effects and a simple theoretical model for the sloshing phenomenon has been developed. Experimental results obtained in the experimental set-up are presented and compared with theoretical predictions.