I have 2 different functions but them same type of problem.
v(t) = 9t - 4, $0 \leq t \leq 3$
I was able to find displacement which is 57/2 by taking the anti derivative and integrating from 0 to 3. For finding total distance I split integration from 0 to 4/9 and 4/9 to 3. I got 745/18 and its wrong.
The second function is v(t) = 2 cos(t), $0 \leq t \leq 3\pi$
I got displacement same way as above and got 0 which is correct. I'm positive I got the total distance right too which is 4 but the program says its wrong. Urgent help needed