Experiments and data analysis on one-dimensional motion with Raspberry Pi and Python