Make a table with elements $\sin(\sqrt{8 n}/4) + r\, $for $n$ from $1$ to $1000$, where $r$ is a random real number between $-0.1$ and $0.1$ that is different for each value of $n$. Also make a plot of all the points of this table. What is the $557^{th}$ element of this table?
Everything is working well, but I can't get the 557th element of the table. I've tried to use the Select command.
Select[TableSin[Sqrt[(a*n)/4]] + Random[Real, {-0.1, 0.1}], {n, 1, 1000}] ,557]
but it's not working. I can't figure out how to fix it.
Can anyone give me some hints?


Takein the documentation – rm -rf♦ Oct 3 '12 at 21:59Partis what he is looking for. – Mr Alpha Oct 3 '12 at 22:01Selectwould be a really terrible way to do it and I would not advise it. You can probably teach your professor something new today :) – rm -rf♦ Oct 3 '12 at 22:11Unionto extract just the distinct entries; and then, if necessary, shorten that result to the 1000 you need. However, the actual intention of the problem statement may have been merely not to use the same randomly chosen number for each item. – murray Oct 4 '12 at 0:25