polynomial fit.. prob with the help browser?
- To: mathgroup at smc.vnet.net
- Subject: [mg42448] polynomial fit.. prob with the help browser?
- From: ce.choa.phen.kee at philips.com
- Date: Wed, 9 Jul 2003 08:24:24 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi all,
I am just trying out the polynomialFit function but i encountered some
problems.. I applied the same thing found in mathematica help browser but
it gave me some strange output. Anyone can pls let me know if there's
anything wrong with the mathematica help browser?
Load the polynomialfit package as: <<NumericalMathe'PolynomialFit'
In[1]:= <<NumericalMathe'PolynomialFit'
In[2]:= p=PolynomialFit[{1,4,9,16,25,36,49},3]
Out[2]= FittingPolynomial[<>,3]
In[3]:= Expand[p[x]]
Out[3]= {54756., 57600., 60516., 63504., 66564., 69696., 72900., 76176.,
79524., 82944., 86436., 90000., 93636., 97344., 101124.,
...................}
I didn't manage to type out all the output as there are a lot more
numbers...
Anyone pls advise..
Thanks in advance..
regards,
kee