The document describes an experiment to determine the effect of string length on the period of a pendulum. Data was collected using a motion detector as the pendulum swung with string lengths of 20 cm and 10 cm. The period was calculated from the time taken to complete 20 oscillations. The results showed that longer string lengths had longer periods. Gravity was also calculated and had a small percentage error compared to the theoretical value.