An unidentified flying object's vertical acceleration is found to vary over time as a function of its vertical velocity, which also varies over time. Its acceleration in $m/s^2$ is given by the equation $a(t)=3+2v$, when $t$ is measured in seconds.

Determine the velocity as a function of time, if the object starts from rest.