write a program to check whether a car will crash


Write a program to check whether a car will crash. There is an obstacle at a certain distance (say 100 m) and the car is travelling at a certain speed (try it with some different speeds). The user hits the brakes after 0.5 seconds, applying a deceleration of 5 m/s^2. Draw the progress of the car and report whether it stopped safely or hit the obstacle.

Request for Solution File

Ask an Expert for Answer!!
Application Programming: write a program to check whether a car will crash
Reference No:- TGS0217742

Expected delivery within 24 Hours