[Solved] Expert Q Done Instructions Program Example 8 7 Outputs Average Speed Intervals Length 10 M Q37266068
question is in picture
thanks
Expert Q&A Done Instructions The program in Example 8-7 outputs the average speed over the intervals of length 10. Modify the program so that the user can store the distance traveled at the desired times, such as times 0, 10, 16,20, 30,38 and 45. The program then computes and outputs the average speed of the object over the successive time intervals specified by the time when the distance was recorded For example, for the previous list of times, the average speed is computed over the time intervals O to 10, 16 to 20, 20 to 30, 30 to 38, and 38 to 45 Instructions for Example 8-7have been included for your convenience Example 8-7 Suppose that the distance traveled by an object at time t a ls d and at timet a is d.where a a Then the average speed of the object from time a, to a that is, over the interval Ia, al is Idu Time Distance 10 18 20 27 30 38 40 52 50 64 Then the average speed over the intervallo. 1ois (18-or10-o-1&over the intervalla 201527-1อเ20-100. 0.9, and so on la C++. please peovide a copy and paste code for ease of use. Thank you Show transcribed image text Expert Q&A Done Instructions The program in Example 8-7 outputs the average speed over the intervals of length 10. Modify the program so that the user can store the distance traveled at the desired times, such as times 0, 10, 16,20, 30,38 and 45. The program then computes and outputs the average speed of the object over the successive time intervals specified by the time when the distance was recorded For example, for the previous list of times, the average speed is computed over the time intervals O to 10, 16 to 20, 20 to 30, 30 to 38, and 38 to 45 Instructions for Example 8-7have been included for your convenience Example 8-7 Suppose that the distance traveled by an object at time t a ls d and at timet a is d.where a a Then the average speed of the object from time a, to a that is, over the interval Ia, al is Idu Time Distance 10 18 20 27 30 38 40 52 50 64 Then the average speed over the intervallo. 1ois (18-or10-o-1&over the intervalla 201527-1อเ20-100. 0.9, and so on la C++. please peovide a copy and paste code for ease of use. Thank you
Expert Answer
Answer to Expert Q&A Done Instructions The program in Example 8-7 outputs the average speed over the intervals of length 10. Modif… . . .
OR

