Determine the equation of a straight that best fit the points:

Code:`X| 0 | 2 | 4 | 6 | 8 | 10 |`

Y|1.12 |5.06 |9.09 |13.12 |17.14 |21.11 |

Printable View

- Sep 14th 2010, 04:00 PMApprentice123Curve Fitting
Determine the equation of a straight that best fit the points:

Code:`X| 0 | 2 | 4 | 6 | 8 | 10 |`

Y|1.12 |5.06 |9.09 |13.12 |17.14 |21.11 |

- Sep 14th 2010, 04:12 PMmr fantastic
- Sep 14th 2010, 04:39 PMApprentice123
- Sep 14th 2010, 07:32 PMmr fantastic
- Sep 14th 2010, 07:45 PMApprentice123
- Sep 15th 2010, 03:23 AMHallsofIvy
Then what

**formulas**do you know? I doubt that you are expected to derive the "least squares" solution by from scratch. - Sep 15th 2010, 05:37 AMApprentice123
- Sep 15th 2010, 07:50 AMHallsofIvy
There are several different formulas to compute "least squares". What formula are you using?

- Sep 15th 2010, 02:09 PMApprentice123
Is this:

$\displaystyle \sum_{k=1}^{m} (d_k)^2 = \sum_{k=1}^{m} [f(x_k) - \phi (x_k)]^2 $

$\displaystyle \phi (x) = \alpha_1 g_1(x) + ... + \alpha_n g_n(x)$

$\displaystyle F(\alpha_1 , \alpha_2 , ..., \alpha_n ) = \sum_{k=1}^{m} (d_k)^2 = \sum_{k=1}^{m} [f(x_k) - \phi (x_k)]^2 $