1) Suppose that you are a civil engineer working on a proposed change to a highway...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1) Suppose that you are a civil engineer working on a proposed change to a highway system. As part of an initial study you want to understand how traffic flow relates to distance from an airport. As part of the study you collected data as summarized below. Let d be the distance from an airport in km and s be the average speed of vehicles at that distance. You want to fit a polynomial p1 that describes s as a function of d by that polynomial. d s=f(d) 10 30 11 50 12 140 a) (3 points) Write the MATLAB code to fit the polynomial p1 of maximum degree possible for the data given b) (3 points) Plot the actual data and the polynomial p1 from a) on the same graph. c) (6 points) Using the model from part a, what will the predicted average speed at d = 11.5 km? d) (5 points) Use the model developed to predict the distance where the speeds is 75. 3) Generate data from the polynomial fit in part 1a) at points d= 10, 10.5, 11.2, 11.5. (6 points) Fit a polynomial p2 using a Newton Interpolating approach and a polynomial p3 using Lagrange interpolating polynomials. Each polynomial should be of the maximum possible degree that the data allows. Use MATLAB to plot the polynomials p2 and p3 on the same graph. 1) Suppose that you are a civil engineer working on a proposed change to a highway system. As part of an initial study you want to understand how traffic flow relates to distance from an airport. As part of the study you collected data as summarized below. Let d be the distance from an airport in km and s be the average speed of vehicles at that distance. You want to fit a polynomial p1 that describes s as a function of d by that polynomial. d s=f(d) 10 30 11 50 12 140 a) (3 points) Write the MATLAB code to fit the polynomial p1 of maximum degree possible for the data given b) (3 points) Plot the actual data and the polynomial p1 from a) on the same graph. c) (6 points) Using the model from part a, what will the predicted average speed at d = 11.5 km? d) (5 points) Use the model developed to predict the distance where the speeds is 75. 3) Generate data from the polynomial fit in part 1a) at points d= 10, 10.5, 11.2, 11.5. (6 points) Fit a polynomial p2 using a Newton Interpolating approach and a polynomial p3 using Lagrange interpolating polynomials. Each polynomial should be of the maximum possible degree that the data allows. Use MATLAB to plot the polynomials p2 and p3 on the same graph.
Expert Answer:
Answer rating: 100% (QA)
Answer As per the given details the solution should be as follows we can apply them in the po... View the full answer
Related Book For
Management Accounting Information for Decision-Making and Strategy Execution
ISBN: 978-0137024971
6th Edition
Authors: Anthony A. Atkinson, Robert S. Kaplan, Ella Mae Matsumura, S. Mark Young
Posted Date:
Students also viewed these programming questions
-
I need help with question 5 , 7, 8, and 9 @ https://linuxzoo.net/page/wildcards_tut3.html 5. Using square brackets, move all the files from the misc directory that contain the numbers 2 or 3 into the...
-
Physical Chemistry: Need help with question 2b. The generic microstate table for the d configuration looks like the table below. Microstate table: ML 4 INTOINWA 3 2 1 0 -1 -2 -3 -4 -1 X X X X X X X X...
-
Need MATLAB code for this. Please perform only on MATLAB. Attach the output also. R(s) C(s) G(s) H(s) Figure I1.1: Negative feedback system.
-
(2) Write an 8086-assembly code to control the interrupt of (3) stepper motors and (2) servo motors in which each motor has its interrupt. The buffered mode for master was required with normal end of...
-
The Smart Way Products Company manufactures and sells wireless video cell phone, which it guarantees for five years. If a cell phone fails, it is replaced free, but the customer is charged a service...
-
Acme Widget, Inc. has the following production function: Number of Number of Workers Widgets Produced 0....................................... 0 1....................................... 8...
-
\(\frac{4^{6}}{4^{2}}\) Simplify the expression.
-
At April 30, partners capital balances in PDL Company are: G. Donley $52,000, C. Lamar $48,000 and J. Pinkston $18,000. The income sharing ratios are 5:4:1, respectively. On May 1, the PDLT Company...
-
I need a response to this discussion please: WEEK 6: Discussion Prompt #2 Compare and contrast the decisions that are consistent with the firm's share price maximization goals. In your response,...
-
Frank Thompson operates a small business that manufactures oversized backyard games. He runs the business as a sole proprietorship. The company uses a job order cost system using a first-in,...
-
A small 4-oz particle is projected with a horizontal velocity of 6 ft/sec into the top A? of the smooth circular guide fixed in the vertical plane. Calculate the time rate of change H a of angular...
-
Please use the financial statements for Youth Without Shelter (YWS) 2020-21 fiscal year. You can find them at the Youth Without Shelter website under Who We Are - Financials. YWS's operates an...
-
Problem 1: Your company is considering a project with an initial cash outlay of $500,000. The discount rate is 10%. Projected cash inflows for the next 5 years are: Year 1: $100,000; Year 2:...
-
What are some of the possible problems we as consumers may face when utilizing physicians as our agents as it pertains to problems associated with healthcare ignorance? What is your opinion on how we...
-
Direct Expenses Square Feet Maintenance $ 45,000 18,000 Milling 89,500 36,000 Assembly 118,400 54,000 Braun Company has one service department and two operating (production) departments. Maintenance...
-
In 2012, the population of a city was 5.66 million. The exponential growth rate was 1.94% per year. a) Find the exponential growth function. b) Estimate the population of the city in 2018. c) When...
-
Your company plans to borrow $5 million for 12 months, and your banker gives you a stated rate of 8 percent interest. Calculate the annual rate of interest for the following types of loans. What is...
-
On October 31 Juanita Ortega, owner of Outback Guide Service, received a bank statement dated October 30. Juanita found the following: 1. The checkbook has a balance of $2,551.34. 2. The bank...
-
What are indirect cost pools?
-
Describe the flow of costs from raw materials to cost of goods sold in a manufacturing organization.
-
Respond to the following statement: Our organization has key performance indicators that measure financial and nonfinancial performance, including customer satisfaction, product and service quality,...
-
\(\frac{31}{7}\) Identify each number as a natural number, an integer, a rational number, or a real number.
-
\(\quad-2 \pi \quad-\sqrt{11} \quad-17 \quad 679 \quad \frac{14}{37} \quad \frac{57}{151}\) Correctly place the numbers in the Venn diagram. N N R
-
\(37.12+98=98+37.12\) Identify the property of real numbers that is being illustrated.
Study smarter with the SolutionInn App