The first thing to do is to calculate the acceleration of the train. We do that by using the acceleration formula, which states
a=u−vt, where a is the acceleration, v is the initial velocity in m/s, u is the final velocity in m/s and t is the time taken in seconds. Looking at our question, we see that t=7.94, u=12.3864andv=0 (since the train starts from rest). Plug these into the formula, and we get
a=12.3864−07.94
a=12.38647.94
a=3925=1.56ms−2
The last thing to do is to calculate the distance travelled. To do that we use this formula (which works with displacement as long as the displacement = distance, as it does in this question):
s=ut+at22, where s is the distance or displacement in metres, u is the initial velocity in m/s, t is the time in seconds and a is the acceleration in m/s2. Looking at our equation, we see that t=5.57388,u=0anda=1.54. Plug these into our equation to get
s=0⋅5.57388+1.56⋅5.5738822
s=1.56⋅5.5738822
s=48.466295682
s≈24.233m, the total displacement of the train.
http://www.dummies.com/education/science/physics/how-to-calculate-time-and-distance-from-acceleration-and-velocity/
I hope I helped!