Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #1279

Re: polynomial function

From Peter Pein <petsie@dordos.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: polynomial function
Date 2011-03-30 09:15 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <imusb6$i70$1@smc.vnet.net> (permalink)
References <imshgm$5sk$1@smc.vnet.net>

Show all headers | View raw


Am 29.03.2011 13:58, schrieb cerr:
> 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!
>

Hi,

I do not know what you expect exactly; but here is how I did it:

copy/paste "y=2e-18...70.098" to a Notebook, select Edit-Find from menu 
or press ctrl-f (windows); enter E into the "Find" field and "*10^" into 
"Replace with:". Then click on "Replace all" and "Cancel". After 
shift-Enter (or Num-pad-Enter) your variable y should contain:
70.098 - 0.0373*x + 0.0002*x^2 - x^3/5000000 +
   x^4/10000000000 - x^5/50000000000000 +
   x^6/500000000000000000
ready for further work...

Cheers, Peter

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: polynomial function Peter Pein <petsie@dordos.net> - 2011-03-30 09:15 +0000

csiph-web