Question: Write a function that can read data from csv files. Write a function that can write data to csv files. Write a main file that

Write a function that can read data from csv files.
Write a function that can write data to csv files.
Write a main file that calls the functions to read data from HomeworkInput1.csv and
HomeworkInput2.csv.
The csv files are comma separated.
Data in both files are time-velocity (the first column is time and the second column is
velocity.)
Calculate the average of the velocities at the same time. e.g., average velocity =(velocity of
HomeworkInput1+ velocity of HomeworkInput2)/2
Using the input data and the calculated average, duplicate the figure below. Your figure
should be the same as the figure shown in Figure 1 except the size of the figure.
Write the time, velocities to FirstName_LastName_HW1Out.csv file. Your output file should
have the same format shown in Table 1. Note that the first column is time, the second column is
the velocity from HomeworkInput1.csv, the third column is the velocity from HomeworkInput2,
and the fourth column is the average velocity.
Submit a zipped (compressed) file that includes all your python codes, output file, and the figure
file. You can save the figure in any format that can be read in a Windows machine.
The submitted zipped file should have two function files (read and write), a main file, an output
file, and a figure file. All files should be the same file naming conventions (First
Name_LastName_file name)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!