What my title said and I want to plot the values of the array. still new to mathematica and programming so its hard to formulate my question just right
1 Answer
This is how you should NOT do it in Mathematica:
list = {};
f[x_] := x^4
For[i = 1, i < 100, i++, AppendTo[list, f[i]]];
ListLinePlot@list
And this is one of the many possible better ways:
ListLinePlot@ f @ Range@100
For[]
and loops in general are usually a bad idea in Mathematica. See for example: mathematica.stackexchange.com/a/18396/193 $\endgroup$