If a car starts at rest and accelerates to 40 m/s in a time of 10 s. What is the acceleration of the car?

\large acceleration=\frac{v_{final}-v_{initial}}{time}

a
-4 m/s2

b
4 m/s2

c
4 m/s

d
400 m/s2

The correct answer is b) 4 m/s^2.