On the Control of Mechanical Manipulator