m attached to an inextensible string of length