Given,
The initial velocity of the car, u=10 m/s
The final velocity of the car, v=30 m/s
The acceleration of the car, a= 4.0 m/s²
From one of the equations of the motion, we have
![v=u+at](https://img.qammunity.org/2023/formulas/mathematics/high-school/noa8ap485tcbqe59xpwvgja2yjtndl0d9d.png)
Where t is the time duration.
On rearranging the above equation,
![t=(v-u)/(a)](https://img.qammunity.org/2023/formulas/physics/college/2a0l5ixxcbmn4ez06g8clugkkh69lbrnex.png)
On substituting the known values,
![t=(30-10)/(4.0)=5\text{ s}](https://img.qammunity.org/2023/formulas/physics/college/cnnc3pz123xgivx8n2fyjasad0p5yks1k4.png)
Therefore the time that the car takes to accelerate is 5 s