Re: polynomial function
- To: mathgroup at smc.vnet.net
 - Subject: [mg117689] Re: polynomial function
 - From: Bob Hanlon <hanlonr at cox.net>
 - Date: Wed, 30 Mar 2011 04:07:39 -0500 (EST)
 - References: <imshgm$5sk$1@smc.vnet.net>
 
On Mar 29, 7:58 am, cerr <ron.egg... at gmail.com> wrote:
> Hi There,
>
> I'm trying to make sense out of a polynomial function from excel,
> it gives me following:
> y = 2E-18x^6 - 2E-14x^5 + 1E-10x^4 - 2E-07x^3 + 0.0002x^2 - 0.0373x +
> 70.098
> and i want to translate this into (normal math) where x is numbers
> from 0 - 4069.
> following doesnt' seem to be right:
> 2/10^18*x^6 - 2/10^14*x^5+1/10^10*x&3+0.0002*x^2-0.0373*x+70.098
> But I don't see my mistake - can someone help me please?
> Thank you!
You wrote x&3 instead of x^3
y[x_] = 2/10^18*x^6 - 2/10^14*x^5 + 1/10^10*x^3 + 0.0002*x^2 -
0.0373*x +
   70.098;
Plot[y[x], {x, 0, 4069}]
Bob Hanlon