MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: polynomial function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg117731] Re: polynomial function
  • From: Peter Pein <petsie at dordos.net>
  • Date: Wed, 30 Mar 2011 04:15:34 -0500 (EST)
  • References: <imshgm$5sk$1@smc.vnet.net>

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


  • Prev by Date: Re: Why Mathematica does not issue a warning when the calculations
  • Next by Date: Re: Off Topic: E-Mail Security in this Group
  • Previous by thread: Re: polynomial function
  • Next by thread: Install 8.0.1 without installing 8.0.0 first?