An object of mass m can slide without friction on a tabletop. A horizontal string tied to the object passes through a frictionless hole in the table and is connected to a second, hanging mass, M. If m is put into motion so that it moves in a circular path of radius r, find

a) the tension in the string.
b) the speed of m.