A student found out from a simple pendulum experiment that 20 oscillations were completed in…