Suppose a particle moves along a line with acceleration at time t given by a(t)=3cos(t). If the starting velocity is v(0)=2, find a formula for v(t), the velocity at time t.
(A) 3sint+2
(B) 3sint-2
(C) -3sint+2
(D) 3cost-2
(E) -3sint+2