how do i know when to use either one?
Example question:
A body of mass 5kg moving horizontally is subject to a resistance of v+2v^2 N, where v is the velocity. If the initial velocity is 2ms^-1, find the distance travelled when v=1ms^-1
my solution used a definite integral but my teacher used an indefinite one then solved for c

