Input Output Table

Hello everyone,
This is first post. I have been struggling helping my daughter with her pre-algebra. I was helping her with input/output tables with slopes. I figured out all of them except one and have been racking my brain. Hoping I can get some help on this last one. I have attached a pic.

Thank you.!

      x^2  + x  =  y

.

 y[x_] := x^2 + x;
 dataX = {2, 4, 10, -3, 5, 7, 1};
 dataY = y[data];
 Grid[Join[{{"In[x]", "Out[y]"}}, Transpose[{dataX, dataY}]],  Frame -> All]

Yes, yes, I know: One should not respond to posts without any attempt by the OP and obviously without any reference to Mathematica. But it is just too tempting!

In[2]:= data = {{2, 6}, {4, 20}, {7, 56}, {10, 110}};

In[3]:= FindFormula[data, x]

Out[3]= 1. x + 1. x^2.

Isn’t Mathematica just great ?!?

Wow!, great answer.

I did not think about this function.

Regards,MI

Thanks! If I remember correctly the function FindFormula was for quite a long time just “Experimental” …

Regards – Henrik