Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer for this problem is needed (2) Now the goal is find the best q, r, s to fit approximately the data t g(t) 3

Answer for this problem is needed

image text in transcribed
(2) Now the goal is find the best q, r, s to fit approximately the data t g(t) 3 Here "best" means minimizing E = Et=-1,0,1,2(f(t) - g(t))?, where f(t) = qt2 + rt + s. (a) Find a matrix A with 4 rows and 3 columns and a column b such that, for any q, r, s, we can get E by (Follow the pattern for Problem 1. For any vector v, we have ||v|? is the sum of squares of components of v. It is also equal to v v, i.e., the dot product (v, v).) (b) (Our goal is to minimize E. Note that The matrix A'A is always symmetric and positive semidefinite; when the interpolation points -1, 0, 1, 2 are distinct (the only sensible case), A'A is positive definite. So we can use conjugate gradient or steepest descent, or transform this minimization problem into solving a linear system by taking the gradient.) For h(q, r, s) = (c) Write out Vh = 0 as a linear system, and solve for q, r, s. (d) Plot g (the four data points above) and f (t) = qt2 + rt + s for the q, r, s you found

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Algebra I Dummies

Authors: Mary Jane Sterling

1st Edition

1119843049, 978-1119843047

More Books

Students also viewed these Mathematics questions