The correct option is D 3 ms−2
Acceleration is defined as rate of change of velocity.
Given, the initial velocity, u=40 ms−1, final velocity, v=0 ms−1 and time taken, t = 20 s. Let the acceleration be 'a'.
Using the first equation of motion, v = u + at
a=v−ut=0−4020=−2 ms−2.
Therefore the acceleration of the train is −2 ms−2 (negative sign signifies deceleration i.e. there is a decrease in velocity).