A ball of mass m is attached to a cord of length L