Hi, I have a function f. and I would like to print some values of it, but for the shake of better reading, I would like to print them in grid. My range is dynamic, hence I need to set a desired value, and then use a for to print it. To better illustrate what I need consider this
f[x_] := x^2;
Grid[{
{1, f[1]},
{2, f[2]}
}, Frame -> All]
in this case I print for 1 and 2. What I need is to set an initial value lets say k, and print this grid for i=1 until k.