Page 1 of 1

4. (8m) The following data was obtained when the stopping distance d of a car on a wet road was measured as a function o

Posted: Thu May 26, 2022 11:07 am
by answerhappygod
4 8m The Following Data Was Obtained When The Stopping Distance D Of A Car On A Wet Road Was Measured As A Function O 1
4 8m The Following Data Was Obtained When The Stopping Distance D Of A Car On A Wet Road Was Measured As A Function O 1 (61.95 KiB) Viewed 25 times
4. (8m) The following data was obtained when the stopping distance d of a car on a wet road was measured as a function of the speed u when the brakes were applied: v (m/s) 5.59 11.18 16.76 22.35 27.94 33.53 d (m) 6 18 36 60 91 128 Determine the coefficients of a quadratic polynomial d = a₂v² + a₁v + ao that best fits the data and calculate R². (a) (4m) Convert the MATLAB script for calculating quadratic polynomial coefficients in Pro- gram 6-3 into a function called QuadFit.m. The function header is function a = QuadFit(x,y) (b) (1m) Use QuadFit to estimate the three coefficients of the quadratic polynomial. (c) (1m) Calculate R². (d) (2m) Make a plot of velocity (independent variable) versus distance (dependent variable). It should be a nonlinear plot. Include x and y labels, a title and a legend.