MathGroup Archive 2001

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

Search the Archive

Re: How can I make the output value of Interpolation[] preciser?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg26597] Re: [mg26578] How can I make the output value of Interpolation[] preciser?
  • From: Tomas Garza <tgarza01 at prodigy.net.mx>
  • Date: Thu, 11 Jan 2001 10:39:10 -0500 (EST)
  • References: <200101090651.BAA00194@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

As so often has been said in the recent past, simply use InputForm[]:

In[1]:=
tab = {{0, 0}, {0.25, 0.255342}, {0.5, 0.546302}, {0.75, 0.931596}, {1,
        1.55741}, {1.25, 3.00957},
{1.5, 14.1014}, {1.75, -5.52038}};

In[2]:=
cha = Interpolation[tab];

In[3]:=
cha[0.674]
Out[3]=
0.795744
In[4]:=
InputForm[%]
Out[4]//InputForm=
0.795743786607616

By the way, this value does not correspond to what you have below
(0.795744032781). I wonder where you obtained this from.

Tomas Garza
Mexico City
----- Original Message -----
From: "liwen liwen" <gzgear at yahoo.com>
To: mathgroup at smc.vnet.net
Subject: [mg26597] [mg26578] How can I make the output value of Interpolation[]
preciser?


> Dear Friends:
>              How are you!
>              I want to increase the effective digits
> for the output value of Interpolation[] so
> that it will be preciser .For example:
>
>
tab={{0,0},{0.25,0.255342},{0.5,0.546302},{0.75,0.931596},{1,1.55741},{1.25,
3.00957},
> {1.5,14.1014},{1.75,-5.52038}};
> Cha=Interpolation[tab];
> In[1]:x=Cha[0.674];
> Out[1]:x=0.795744
>
> I want to make the output value be preciser,for
> example ,0.795744032781,so I modified the value of
> {0.5,0.546302}
> to be {0.5,0.5463024567854}and {0.75,0.931596} to be
> {0.75,0.93159637289321},but the output value of
>  Cha[0.674] does not turn to be preciser,it still
> keeps 0.795744 ,what can I do?
>
> Best Regards,
>
> Liwen E-mail: gzgear at yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - Share your holiday photos online!
> http://photos.yahoo.com/
>



  • Prev by Date: Re: Expansion Coefficients in Multivariate Series Expansions?
  • Next by Date: Re: How can I make the output value of Interpolation[] preciser?
  • Previous by thread: How can I make the output value of Interpolation[] preciser?
  • Next by thread: Re: How can I make the output value of Interpolation[] preciser?