Find the equation of a parabola of the form y = ax^2 + b that best represents the data.....?

2015-12-07 9:07 pm
x = -1,0,1
y = 3.1,0.9,2.9

Use the method of least squares.

回答 (2)

2015-12-07 9:31 pm
✔ 最佳答案
X = [x1^2 1; x2^2 1; x3^2 1], A = {a; b} = ?, Y = {3.1; 0.9; 2.9}

A = (X^t * X)^-1 * X^t * Y = {2.1; 0.9}

y(x) = 2.1*x^2 + 0.9
2015-12-07 9:29 pm
y = 0.9 + 2.1 x^2


收錄日期: 2021-04-30 19:53:15
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20151207130725AA93JXc

檢視 Wayback Machine 備份