Studying force and acceleration using a cart on a flat track with an attached mass hanging over a pulley