required to stop an automobile is a function of velocity (v). The following experimental data was collected
Fantastic news! We've Found the answer you've been seeking!
Question:
required to stop an automobile is a function of velocity (v). The following experimental data was collected to quantify this relationship.
Transcribed Image Text:
Question 3: (40 marks) The braking distance (s) required to stop an automobile is a function of velocity (v). The following experimental data was collected to quantify this relationship. v. km/hr s, m 30 5.0 45 12.3 60 21.0 75 32.9 90 47.6 120 84.7 (a) Suppose all these data can be fitted by a power relationship, i.e. s = ax vb where a and b are the fitting coefficients. Use the MATLAB built-in function fit to find the fitting curve and plot them in a red solid line by MATLAB function plot. Plot the experimental data with blue *** symbols for comparison with the fitting curve. Label the x axis as *Velocity (km/hr)', the y axis as 'Braking distance (m)', and the title as 'Power fitting'. (b) Based on the power regression, create a function M-file ("Power.m") to fit the experimental data (Do not use the MATLAB build-in functions). In the function, the input arguments are v and s, the output variable is the coefficient vector coef[a, b], i.e. function coef-power (v, s). (c) Write a script M-file ("task_c.m") to plot both the fitting curve (using a red dashed line) and the source data (using square symbols). The function M-file ("power.m") will be called to obtain the fitting data. Label the x axis as 'Velocity (km/hr)', and the y axis as *Braking distance (m)'. Include a grid over the plot area. Question 3: (40 marks) The braking distance (s) required to stop an automobile is a function of velocity (v). The following experimental data was collected to quantify this relationship. v. km/hr s, m 30 5.0 45 12.3 60 21.0 75 32.9 90 47.6 120 84.7 (a) Suppose all these data can be fitted by a power relationship, i.e. s = ax vb where a and b are the fitting coefficients. Use the MATLAB built-in function fit to find the fitting curve and plot them in a red solid line by MATLAB function plot. Plot the experimental data with blue *** symbols for comparison with the fitting curve. Label the x axis as *Velocity (km/hr)', the y axis as 'Braking distance (m)', and the title as 'Power fitting'. (b) Based on the power regression, create a function M-file ("Power.m") to fit the experimental data (Do not use the MATLAB build-in functions). In the function, the input arguments are v and s, the output variable is the coefficient vector coef[a, b], i.e. function coef-power (v, s). (c) Write a script M-file ("task_c.m") to plot both the fitting curve (using a red dashed line) and the source data (using square symbols). The function M-file ("power.m") will be called to obtain the fitting data. Label the x axis as 'Velocity (km/hr)', and the y axis as *Braking distance (m)'. Include a grid over the plot area.
Expert Answer:
Answer rating: 100% (QA)
Solution a MATLAB Script Instead of lines 1319 you could als... View the full answer
Related Book For
Posted Date:
Students also viewed these mechanical engineering questions
-
You have been asked to design a rater-training program. What types of elements would you build into the process?
-
You have been asked to design a diversity-training program for incoming freshmen at your school. Try to answer the questions presented above in this context: Develop a method for the training...
-
You are asked to design a spring that will give a 1160-kg satellite a speed of 2.50 m/ s relative to an orbiting space shuttle. Your spring is to give the satellite a maximum acceleration of 5.00g....
-
Sodium nitrite (NaNO2) reacted with 2-iodooctane to give a mixture of two constitutionally isomeric compounds of molecular formula C8H17NO2 in a combined yield of 88%. Suggest reasonable structures...
-
Why is a market that is weak-form efficient in direct opposition to technical analysis?
-
A 1 m3 rigid tank has propane at 100 kPa, 300 K and connected by a valve to another tank of 0.5 m3 with propane at 250 kPa, 400 K. The valve is opened and the two tanks come to a uniform state at 325...
-
Explain how an auditor could perform a transaction walk-through for purchases and cash disbursements.
-
Translate a trial balance and prepare a consolidation worksheet with excess of cost over book value traceable to equipment. Due to increasing pressures to expand globally, Pueblo Corporation acquired...
-
Since Rupert Murdoch took over the archrival New York Post, a series of price cuts and retaliatory moves have taken place. These events have severely affected industry profits. Leonard N. Stern,...
-
The received signal in a digital base band system is either +A or -A, equally likely, for T-second contiguous intervals. However, the timing is off at the receiver so that the integration starts...
-
3. The financial department in a company that produces a digital camera arrives at the following price-demand function, corresponding revenue function and cost function as following. Price-demand...
-
Define a team.
-
A(n) _____________ accompanies your rsum and serves to introduce you as a potential employee, highlight your rsum, and demonstrate your writing skills.
-
Select any company or organization, and write a brief summary of its best communication practices. How can you apply these practices to your study of communication and to your professional career?
-
Explain the difference between task roles and relationship roles.
-
Define organizational culture.
-
What is the sigma level of their FAFSA application program? Does the sigma level per class, for example, senior, change your recommendation on whether to focus on a specific error or a specific...
-
Compile data on consumption and expenditures for the following categories in 30 different countries: (1) food and beverages, (2) clothing and footwear, (3) housing and home operations, (4) household...
-
What were the key elements in Blahna's successful diversity strategy?
-
What can a manager do in his or her everyday behavior to encourage these beliefs?
-
What is the objective of building and managing a diverse workforce?
-
The lathe post not provided with power feed is (a) lead screw (b) carriage (c) compound rest (d) cross slide
-
A cone shaped recess at the top of drilled hole can be made by (a) countersinking (b) counterboring (c) taper drilling (d) grooing.
-
Power feed is not provided on the following drilling machine : (a) bench drill press (b) gang drilling machine (c) radial drilling machine (d) all of the above.
Study smarter with the SolutionInn App