Question: how to find explicit expression with maple

We want to fit

f(x) = a_0 + a_1 *x + a_2 * x^2 + ... + a_n * x^n

to the data (x_i,f(x_i)) for i = 0 ... n.

 

It will give rise to the following system

[ a_i ] = [A]^{-1} * [ f(x_i)].

 

Here [a_i] = [ a_1 a_2 a_3 ... a_n], 

[A] = [ 1 x_0 x_0^2 ... x_0^n ; 1 x_1 x_1^2 ... x_1^n ; 1 x_2 x_2^2 ... x_2^n ; ... ; 1 x_n x_n^2 ... x_n^n]

and 

[f(x_i)] = [f(x_0) f(x_1) f(x_2) ... f(x_n)].

 

With Maple how to find explicit expression for a_i's.

 

[Excessive blank lines removed and Product category added.--Carl Love as a Moderator]

Please Wait...