William W. answered 04/05/23
I'm assuming by the question that you are looking fr the total distance traveled and not the displacement.
If you are doing this via a calculator, just integrate the absolute value of t2 + 2t - 15 between 0 and 5
To do it manually, find the time when velocity changes from negative to positive and then break the integration into two parts.
First solve t2 + 2t - 15 = 0
(t - 3)(t + 5) = 0
t = 3 and t = -5
Use t = 3 as your dividing point. The velocity between t = 0 and t = 3 is negative while the velocity between t = 3 and t = 5 is positive:
Total distance = |0∫3 t2 + 2t - 15 dt| + 3∫5t2 + 2t - 15 dt = |-27| + 56/3 = 137/3 meters