A block of mass M at the end of the string is whirled round a vertical circle of radius R. The critical speed of the block at the top of the swing is