WalterG said:
Yes in both cases same final velocity = 60km/h. Acceleration shall be the same. So it may take longer time to accelerate to the same speed with the moving box. Hence more energy needed. May be
That is not the logic that I expected you to follow. The reasoning that I expected was:
1. The total mass for each truck plus box is identical.
2. The final velocities of the two centers of mass are identical.
3. It follows that the change in momenta of the two trucks getting to the final COM velocity are identical.
4. The applied forces on the two trucks are identical.
5. It follows that it takes exactly the same amount of time to accelerate both centers of mass to the final speed.
6. The truck with the movable box accelerates faster than its carried box.
7. It follows that the truck with the movable box accelerates faster than the center of mass of that truck+box.
8. The truck with the fixed box accelerates at the same pace as the center of mass of that truck+box.
9. It follows that the truck with the movable box accelerates more rapidly than the truck with the fixed box.
10. It follows that, over the course of the acceleration to the final COM speed, the truck with the movable box traverses a greater distance.
11. It follows that, over the course of that acceleration, more work is done on the truck with the movable box.
That is where the extra energy required to give the box a velocity relative to its truck comes from.
Of course, this description is for the idealized world of a smooth road, no air resistance and a truck bed long enough that the box is still sliding when final COM speed is achieved. For a bumpy road it gets trickier.