Question: A question on interpolation function

Hi everybody

I have a problem with finding the interpolation function from a data list.

In Mathematica I can find the interpolation function from a set of data simply as below:

data := {{13, -2}, {12, -1}, {11, 0.0}, {10, 1}, {9, 2}, {8, 3}, {7, 
   4}, {6, 5}, {5, 6}, {4, 7}, {3, 8}, {2, 9}, {1, 10}}

g := Interpolation[dat]

Plot[g[x], {x, 1, 9}] (see the attached file for the diagram)

The mathematica software gives simply the interpolating function and then we can work with it.

However, I cannot do the same procedure with maple.

Would you be so kind as to let me know how can I make an interpolating function for these set of data in maple?

Thank you very much and best regards.

Hadi

Please Wait...