Write a program that approximates the force that a race


Question: Write a program that approximates the force that a race car's brakes are exerting during a high-speed stop, given a table of the distances that the car has traveled down a test straightaway recorded at one-second intervals:

1710_Car.png

You will apply the formula

Force = mass x acceleration

keeping in mind that acceleration is the second derivative of the distance function f. Of course, since the car is decelerating, the acceleration values will be negative. Ignore the fact that the car is burning fuel and has other forces acting on it. Display a table showing the input data, the acceleration values, and the force values. For the data shown, you will display no acceleration or force values for t = 0 and for i = 8. Make your program flexible enough to handle distance measurements taken over up to 30 seconds. You may wish to use the Observed Function class described in Programming Project 8.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a program that approximates the force that a race
Reference No:- TGS02578078

Expected delivery within 24 Hours