Locomotive exert on a 12560-kg boxcar to make it accelerate forward at 0.38 m/s2. How long will it take the boxcar to reach its cruising speed of 112 km/h (69.6 mph or 31.1 m/s)?

vf=at

t= vf/a=31.1/.38 sec