Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Suppose that you are a civil engineer working on a proposed change to a highway system. As part of an initial study you


   

 

image

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.

Step by Step Solution

3.38 Rating (160 Votes )

There are 3 Steps involved in it

Step: 1

Answer As per the given details the solution should be as follows we can apply them in the po... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Management Accounting Information for Decision-Making and Strategy Execution

Authors: Anthony A. Atkinson, Robert S. Kaplan, Ella Mae Matsumura, S. Mark Young

6th Edition

137024975, 978-0137024971

More Books

Students also viewed these Programming questions

Question

What are indirect cost pools?

Answered: 1 week ago