This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Numerical Computation / Integration /

Further Examples: InterpolatingFunction

Here is a table of values of the reciprocal function and an InterpolatingFunction object that represents the data.

In[1]:=

Out[1]=

In[2]:=

Out[2]=

An InterpolatingFunction object can be evaluated just like any other Mathematica function. The approximate function reproduces the values given at the data points and it gives approximate values in between.

In[3]:=

Out[3]=

The approximate function is close to the original reciprocal function for most values in the domain.

In[4]:=

In[5]:=