I know that a computer can't generate a random number in the true sense of the word random. But I was expecting more when I went to do a rand(1..100); 5000 times and found most of the generated values to be between 1 and 10. Go ahead and give this a try:

with(RandomTools)
test_list := 0:
for i from 1 to 5000 do
  randomtest := Generate(float(range=1..100, digits=4)):
  test_list := test_list,randomtest;
od:

listplot([test_list],style=point,symbol=point);
FrequencyPlot([test_list],frequencyscale=absolute,style=point);
 

Anyone care to comment? Have any ideas of how this can be avoided?


Please Wait...