An analytical design of telescopic manipulator for prescribed workspace