Forget about the accelerating and decelerating and assume that the car moves at a constant speed of 20 mph over the whole 3 miles. If you do this, you will not need to include physics.h. You will still need to print out the times and distances every 10 seconds. You should also use these numbers instead of those above.