6. (20pts) Given the data below, and using MATLAB, Ꮖ 4.0 4.2 4.5 4.7 5.1 5.5 5.9 6.3 6.8 7.1 y 102.56 113.18 130.11 142.05 167.53 195.14 224.87 256.73 299.50 326.72 (a) construct the least squares polynomial of degree 1 and compute the error; (b) construct the least squares polynomial of degree 3 and compute the error; (c) construct the least squares approximation of the form y = bear and compute the error (hint: take logarithm on both sides). For each polynomial, provide its graph together with the data points from the table. Submit all your codes and results.

Linear Algebra: A Modern Introduction
4th Edition
ISBN:9781285463247
Author:David Poole
Publisher:David Poole
Chapter7: Distance And Approximation
Section7.3: Least Squares Approximation
Problem 29EQ
Question
6. (20pts) Given the data below, and using MATLAB,
Ꮖ
4.0
4.2
4.5
4.7
5.1
5.5
5.9
6.3
6.8
7.1
y 102.56 113.18 130.11 142.05 167.53 195.14 224.87 256.73 299.50 326.72
(a) construct the least squares polynomial of degree 1 and compute the error;
(b) construct the least squares polynomial of degree 3 and compute the error;
(c) construct the least squares approximation of the form y = bear and compute the
error (hint: take logarithm on both sides).
For each polynomial, provide its graph together with the data points from the table.
Submit all your codes and results.
Transcribed Image Text:6. (20pts) Given the data below, and using MATLAB, Ꮖ 4.0 4.2 4.5 4.7 5.1 5.5 5.9 6.3 6.8 7.1 y 102.56 113.18 130.11 142.05 167.53 195.14 224.87 256.73 299.50 326.72 (a) construct the least squares polynomial of degree 1 and compute the error; (b) construct the least squares polynomial of degree 3 and compute the error; (c) construct the least squares approximation of the form y = bear and compute the error (hint: take logarithm on both sides). For each polynomial, provide its graph together with the data points from the table. Submit all your codes and results.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Recommended textbooks for you
Linear Algebra: A Modern Introduction
Linear Algebra: A Modern Introduction
Algebra
ISBN:
9781285463247
Author:
David Poole
Publisher:
Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
College Algebra
College Algebra
Algebra
ISBN:
9781337282291
Author:
Ron Larson
Publisher:
Cengage Learning
Elementary Linear Algebra (MindTap Course List)
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:
9781305658004
Author:
Ron Larson
Publisher:
Cengage Learning
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Algebra
ISBN:
9781680331141
Author:
HOUGHTON MIFFLIN HARCOURT
Publisher:
Houghton Mifflin Harcourt