For t<2
dx/dt = 2t -4
s = t2 - 4t
S = 4 - 8
S = -4
For T>2
dx/dt = 4 - 2t
x = 4t - t2
x = 8 - 16 + 4
x = -4
Total distance = 8
Velocity time equation of a particle moving in a straight line is v=2t-4 for t<or equal to 2seconds and v=4-2t for t>2s . the distance travelled by the particle in the time inteval of t=0 to t=4s is
For t<2
dx/dt = 2t -4
s = t2 - 4t
S = 4 - 8
S = -4
For T>2
dx/dt = 4 - 2t
x = 4t - t2
x = 8 - 16 + 4
x = -4
Total distance = 8