The problem involves converting potential energy into rotational kinetic energy as the system rotates about the pivot. By equating the initial potential energy to the final kinetic energy, we can solve for the angular velocity. The work done by the torque is equal to the change in kinetic energy.