Re: Why polynomial Can't output as Number?
- To: mathgroup at smc.vnet.net
- Subject: [mg69011] Re: Why polynomial Can't output as Number?
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Sat, 26 Aug 2006 02:04:59 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 8/24/06 at 3:40 AM, sunose at gmail.com (William wang) wrote:
>data={7,2,3,25,1,10};
>f=InterpolatingPolynomial[data,x];
>f/.x->5;
>Result as attachment picture.
>why can't get a simply number?
Here, it does return a number
In[30]:=
data = {7, 2, 3, 25, 1, 10};
f = InterpolatingPolynomial[data, x];
f /. x -> 5
Out[32]=
1
which tells me there is something else going on in your notebook. Try this in a fresh session. Do you still have a problem?
--
To reply via email subtract one hundred and four