MathGroup Archive 2001

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

Search the Archive

Re: How to get the slope of a Interpolation[] function at a specified point?


Hi,

In[]:=geartable = {{0, 0}, {1, 1}, {2, 3}, {3, 4}, {4, 6}, {5, 7}, {6,
9.5}, {7, 
        12}, {8, 14}};
      gearf = Interpolation[geartable, InterpolationOrder -> 6];

In[]:=gearf[4.5]

Out[]=6.40869

And here is the derivative :

In[]:=gearf'[4.5]

Out[]=0.85599

With  8 points you can't make a interpolation with order more than 8.

Regards
  Jens

liwen liwen wrote:
> 
> Dear Friends:
>              How are you!
>              I want to get the slope of a
> Interpolation[] function at a specified point,
> for example,here is a Interpolation function :
> geartable={{0,0},{1,1},{2,3},{3,4},{4,6},{5,7},{6,9.5},{7,12},{8,14}};
> Gear=Interpolation[geartable];
> y=Gear[4.5];
> 
> I want to get the slope of Gear function at the point
> of {4.5,y},what should I do ?
> Can I use the FunctionInterpolation[] to make out a
> precise function to find the slope value ?
> Is the FunctionInterpolation[] precise enough to get
> the very precise slope value ?
> 
> 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: Expansion Coefficients in Multivariate Series Expansions?
  • Previous by thread: How to get the slope of a Interpolation[] function at a specified point?
  • Next by thread: Re: How to get the slope of a Interpolation[] function at a specified point?