Here you go:
Consider a disc of radius r and take any small point(hole) at a distance x from it.Now letr the disc be rotated thru a small angle 
Now Torque(T)=xmgsin
But T=I
(I is the MI about the hole)
I=(mr^2/2)+mx^2
so we get w=%2Bx^2})
Differentiate to find x=r/sqrt2
And You Have The Answer!!!!