On Robotic Trajectory Using Polynomial Interpolations