Text this: Dynamic simulation of task constrained of a rigid-flexible manipulator