5. The following points are given: 2.2 3.7 6.4 9 11.5 14.2 17.8 20.5 23.2 12 6.6 5.5 7.2 9.2 9.6 8.5 6.5 2.2 (a) Fit the data with a first-order polynomial. Make a plot of the points and the polynomial. (b) Fit the data with a second-order polynomial. Make a plot of the points and the polynomial. (c) Fit the data with a third-order polynomial. Make a plot of the points and the polynomial. (d) Fit the data with an fifth-order polynomial. Make a plot of the points and the polynomial.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
5.
The following points are given:
2.2 3.7
17.8 20.5
1
6.4
11.5
14.2
23.2
12
9
6.6
5.5
7.2
9.2
9.6
8.5
6.5
2.2
(a) Fit the data with a first-order polynomial. Make a plot of the points and
the polynomial.
(b) Fit the data with a second-order polynomial. Make a plot of the points and
the polynomial.
(c) Fit the data with a third-order polynomial. Make a plot of the points and
the polynomial.
(d) Fit the data with an fifth-order polynomial. Make a plot of the points and
the polynomial.
6.
.Measurements of the fuel efficiency of a car Fg at various spceds v are shown
in the table.
v (mi/h)
5
15
25
35
45
55
65
75
FE (mpg)
11
22
28
29.5
30
30
27
23
(a) Curve-fit the data with a second-order polynomial. Use the polynomial to
estimate the fuel efficiency at 60 mi/h. Make a plot of the points and the poly-
nomial.
(b) Curve-fit the data with a third-order polynomial. Use the polynomial to
estimate the fuel efficiency at 60 mi/h. Make a plot of the points and the poly-
nomial.
(c) Fit the data with linear and spline interpolations. Estimate the fuel effi-
ciency at 60 mi/h with linear and spline interpolations. Make a plot that shows
the data points and curves made of interpolated points.
24
Transcribed Image Text:5. The following points are given: 2.2 3.7 17.8 20.5 1 6.4 11.5 14.2 23.2 12 9 6.6 5.5 7.2 9.2 9.6 8.5 6.5 2.2 (a) Fit the data with a first-order polynomial. Make a plot of the points and the polynomial. (b) Fit the data with a second-order polynomial. Make a plot of the points and the polynomial. (c) Fit the data with a third-order polynomial. Make a plot of the points and the polynomial. (d) Fit the data with an fifth-order polynomial. Make a plot of the points and the polynomial. 6. .Measurements of the fuel efficiency of a car Fg at various spceds v are shown in the table. v (mi/h) 5 15 25 35 45 55 65 75 FE (mpg) 11 22 28 29.5 30 30 27 23 (a) Curve-fit the data with a second-order polynomial. Use the polynomial to estimate the fuel efficiency at 60 mi/h. Make a plot of the points and the poly- nomial. (b) Curve-fit the data with a third-order polynomial. Use the polynomial to estimate the fuel efficiency at 60 mi/h. Make a plot of the points and the poly- nomial. (c) Fit the data with linear and spline interpolations. Estimate the fuel effi- ciency at 60 mi/h with linear and spline interpolations. Make a plot that shows the data points and curves made of interpolated points. 24
Expert Solution
steps

Step by step

Solved in 5 steps with 5 images

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman