Physical Pendulum

Show how we can measure \vec{g} using an arbitrary rigid body (for which we know the center of mass), a ruler and a timer.