Usenet.com

www.Usenet.com

Group Index

Sci Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: Convert coefficients from interpolated newton-polynomial to c0 +c1*x + c2*x^2 + ... form



Isn't it that easy?:

c.j[DOT]w schrieb:
Hello,

I have interpolated x1..xi, y1..yi with a newton-polynomial, which gives me

p = c0 + c1(x-x1) + c2(x-x1)(x-x2) + ... (1)

Now I want to comvert this polynomial to a polynomial of the form

p = d0 + d1*x + d2*x^2 + d3*x^3 + ... (2)

Rewrite (1) to get the dn in 2 as follows:


d0 = c0 + c1*x1 + c2*x1*x2 + ... + cn*x1*...*xn

d1 = c1 + c2*(x1+x2) + c3*(x1*x2 + x2*x3 + x1*x3) +...

... (some homework)

best wishes, Wolfgang




<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.