Using Wolfram to convert a value chart into graph

78 Views Asked by At

Is it possible to use Wolfram Alpha to make something like this into a graph and have it display the proper function?

enter image description here

In that case, how would I syntactically write it in Wolfram?

1

There are 1 best solutions below

1
On

If you just want to plot the points, then you can use

plot {{1, 12}, {3, 36}, {5, 60}, {7, 84}, {9, 108}}

enter image description here

If you want to try and approximate the function, then you can use

interpolate {{1, 12}, {3, 36}, {5, 60}, {7, 84}, {9, 108}}

enter image description here

Of course, this isn't going to give you the exact function that you're looking for every time (this happens to be a nice example), but it will give an approximate polynomial based upon the data that you feed in.