Here we have,
Initial velocity, u = 90 km/h = {{90 \times 1000}\over3600}ms−1 = 25 ms−1
Final velocity, v = 0 m/s
Acceleration, a = – 0.5 m/s2
Distance travelled = ?
Using, v2 = u2 + 2as
s = {{v^2-u^2}\over2a} = {{0^2-25^2}\over {2(-0.5)}} = 625m
Therefore, train will go 625 m before it brought to rest.