A solid uniform cylinder of mass M and radius R is pivoted at its centre free to rotate about horizontal axis. A massless inextensible string is wrapped around it, and attached to a block of mass m which is initially at a height h above the floor. The acceleration due to gravity is g, directed downward. The block is released from rest. By what total angle θ does it rotate (in radians)?