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