Step 1: Understand the given data.
- Initial velocity of the car, \( u = 20 \, \text{m/s} \)
- Final velocity of the car, \( v = 0 \, \text{m/s} \) (since the car comes to rest)
- Acceleration (deceleration), \( a = -4 \, \text{m/s}^2 \) (negative because the car is slowing down)
Step 2: Use the first equation of motion.
The first equation of motion relates velocity, acceleration, and time:
\[
v = u + at
\]
Substitute the known values:
\[
0 = 20 + (-4) \times t
\]
\[
-20 = -4t
\]
\[
t = \frac{-20}{-4} = 5 \, \text{seconds}
\]
Answer: Therefore, the time taken for the car to come to rest is \( 5 \, \text{seconds} \).