logo

Crowdly

Exercise L7.E2 EcoMotion Autos is a car manufacturing company. They are con...

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

Exercise L7.E2

EcoMotion Autos is a car manufacturing company. They are conducting research regarding their 3 brand new car models that are going to be released next month. You have been requested to assist them by helping them to analyze the data taken during the test drive. 

You are provided with three input files model1.txt, model2.txt and model3.txt containing the speed measured at the end of each time interval. 

Example input files : 

model1.txt       
model2.txt        
model3.txt         
0      0

100    1

200    5

300    13

400    29

500    57

600    68

700    78

800    89

900    99

1000   111
0	0

100 1

200 7

300 12

400 31

500 63

600 74

700 89

800    98

900 107

1000 120
0	0

100 5

200 15

300 21

400 39

500 55

600 69

700 81

800     101

900 113

1000 122

  • First column in each file is the time measured in milliseconds. 
  • Second column is the speed measured in kilometers per hour. 

Note: The time values for every input file are the same. (0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000)

In this lab, you need to develop a python program to calculate and output the maximum acceleration reached by each car model during the test drive using the provided skeleton code. Furthermore, you need to plot a graph of acceleration against time for each car model. Refer the Lab 7: Beams and Cars L7.E2 for instructions.

Please submit the flowchart diagram that illustrates the algorithm of your program here.

Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на online.uom.lk?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!