I am wondering how to speed up the following code: Currently it takes more than two sec to be processed.
Timing[For[i = 1;
list = {}, i <= 11111, i++, l = AppendTo[list, i/Pi]];
Total@N@list]
I am new to Wolfram languages and it's the only thing I could come up with. Any idea ?
Thanks