Question: 2. The following table lists velocity data for a moving object taken at various time intervals. t (s) 02 3.25 4.5 6.0 7.0 8.88.5 9.3

2. The following table lists velocity data for a moving object taken at various time intervals. t (s) 02 3.25 4.5 6.0 7.0 8.88.5 9.3 10 v (m/s)5 65.578.566 7 75 Use the MATLAB function trapz to determine the distance traveled between t0 and 10 seconds a. b. Fit the data with a cubic equation using polyfit. Integrate the cubic equation to determine the distance traveled (Hint: Use polyint and polyval). Compare the result with the result determined in Part a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
