MathGroup Archive 2005

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

Search the Archive

Why won't Horner[] work?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58978] Why won't Horner[] work?
  • From: Paul McHale <paul.mchale at _NO_$PAMearthlink.net>
  • Date: Tue, 26 Jul 2005 04:01:43 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

When I issue the command:

In:= Fit[ {{1,200},{200,0},{400,200}}, {1,x,x^2}, x]

Out:= 202.01 - 2.01508 x + 0.00502513 x^2

This seems good.  But when I do


In:= Horner[Fit[ {{1,200},{200,0},{400,200}}, {1,x,x^2}, x]]

Out:= Horner[202.01 - 2.01508 x + 0.00502513 x^2]


Why doesn't it evaluate the polynomial?  To I need to convert the
output of fit?

Thanks,
Paul


  • Prev by Date: Re: Passing options through user-defined functions
  • Next by Date: Re: Mathematica 5.2: The 64-bit and multicore release
  • Previous by thread: Re: invisible cursor
  • Next by thread: Re: Why won't Horner[] work?