A block of mass m hangs by means of a string which goes over a pulley of mass M and moment of inertia I