Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 HomeworkInputcsv and
HomeworkInputcsv
The csv files are comma separated.
Data in both files are timevelocity the first column is time and the second column is
velocity.
Calculate the average of the velocities at the same time. eg average velocity velocity of
HomeworkInput velocity of HomeworkInput
Using the input data and the calculated average, duplicate the figure below. Your figure
should be the same as the figure shown in Figure except the size of the figure.
Write the time, velocities to FirstNameLastNameHWOut.csv file. Your output file should
have the same format shown in Table Note that the first column is time, the second column is
the velocity from HomeworkInputcsv the third column is the velocity from HomeworkInput
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
NameLastNamefile name
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started