Answer
The position vector:
${\bf{r}}\left( t \right) = \left( {t + 1, - t, - \cos t + 1} \right)$
The velocity vector:
${\bf{v}}\left( t \right) = \left( {1, - 1,\sin t} \right)$
Work Step by Step
Find the velocity vector:
${\bf{v}}\left( t \right) = \smallint {\bf{a}}\left( t \right){\rm{d}}t = \smallint \left( {0,0,\cos t} \right){\rm{d}}t = \left( {0,0,\sin t} \right) + {{\bf{c}}_0}$
The initial condition ${\bf{v}}\left( 0 \right) = \left( {1, - 1,0} \right)$ gives
$\left( {1, - 1,0} \right) = \left( {0,0,0} \right) + {{\bf{c}}_0}$
${{\bf{c}}_0} = \left( {1, - 1,0} \right)$
Thus,
${\bf{v}}\left( t \right) = \left( {0,0,\sin t} \right) + \left( {1, - 1,0} \right)$
${\bf{v}}\left( t \right) = \left( {1, - 1,\sin t} \right)$
Find the position vector:
${\bf{r}}\left( t \right) = \smallint {\bf{v}}\left( t \right){\rm{d}}t = \smallint \left( {1, - 1,\sin t} \right){\rm{d}}t = \left( {t, - t, - \cos t} \right) + {{\bf{c}}_1}$
The initial condition ${\bf{r}}\left( 0 \right) = \left( {1,0,0} \right)$ gives
$\left( {1,0,0} \right) = \left( {0,0, - 1} \right) + {{\bf{c}}_1}$
${{\bf{c}}_1} = \left( {1,0,1} \right)$
Thus,
${\bf{r}}\left( t \right) = \left( {t, - t, - \cos t} \right) + \left( {1,0,1} \right)$
${\bf{r}}\left( t \right) = \left( {t + 1, - t, - \cos t + 1} \right)$