Answer
$$s(t) = 2+\sin t$$
Work Step by Step
Given $v(t) =\cos t$ , $s(0)=2$
Since
\begin{align*}
s'(t)&=v(t)\\
s(t)&=\int v(t)dt\\
&=\int \cos t dt\\
&=\sin t+c
\end{align*}
Since $s(0)=2 $, then $c=2 $, and
$$s(t) = 2+\sin t$$
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.