31. A uniform solid ball with mass M is supported by a massless rod. Derive the period of the pendulum with a small displacement.