A car is travelling on a straight road. The maximum velocity the car can attains is 24ms−1. The maximum acceleration and deceleration it can attain are 1ms−2 and 4ms−2 respectively. The shortest time the car takes from rest to rest in a distance of 500 m is,