Kinematic analysis of a single link flexible manipulator