connected of an in extensible string over a frictionless pulley shown. when masses are released