solve m*g*d/2*(1-cos(pi))=1/2*1/3*m*d^2*o^2 for o, g=9.81, m=1,d=1