Answered step by step
Verified Expert Solution
Question
1 Approved Answer
5 Use Python (or Excel) to do data analysis as described below. Save your file as hw3_problem5_calculations.py (or .xlsx) for submission on eCampus. Please include
5 Use Python (or Excel) to do data analysis as described below. Save your file as hw3_problem5_calculations.py (or .xlsx) for submission on eCampus. Please include answers to the items labeled PDF in the Homework3.pdf file. (You do not have to use the Engineering Problem Presentation Method for Problem 5.) a) Smooth the position data using the moving average i = Xi2+Xi1+xi +Xi+1+Xi+2 (the average of five consecutive values centered about value xi). PDF: How many smoothed position values did you calculate? b) Using smoothed position values, calculate velocity values using the first order forward finite difference for the first derivative. PDF: How many velocity values did you calculate? Find the average velocity, standard deviation (sample, not population), and standard error. c) Using velocity values from part b), calculate acceleration values using the first order forward finite difference for the first derivative. PDF: How many acceleration values did you calculate? Find the average acceleration, standard deviation, and standard error. d) Create a plot that shows three data sets: the original position values, calculated velocity values, and calculated acceleration values vs time. Set the range for the y-axis from -0.3 to 0.6. Hint: part of the plot is shown below (short dash - position, solid velocity, long dash - acceleration). Please save the plot as a .jpg file. Name the file hw3_problem5_results.jpg. Submit this file on eCampus along with the PDF file. 0.6 0.5 0.4 0.3 0.2 Position measurements Measurement # Time, s Position, m 1 0.0000 0.5336 2 0.0321 0.5352 3 0.0682 0.5359 4 0.1010 0.5367 5 0.1323 0.5375 6 0.1679 0.5383 7 0.1999 0.5391 8 0.2323 0.5399 9 0.2644 0.5407 10 0.3002 0.5415 11 0.3322 0.5430 12 0.3642 0.5430 13 0.4000 0.5438 14 0.4324 0.5446 15 0.4643 0.5454 16 0.5000 0.5462 Position (m), velocity (m/s), and acceleration (m/s^2) 0.1 0 0 oh -0.1 -0.2 -0.3 Time, s
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