simple pendulum problems and solutions pdf