I run a sort of incentive program with my class. Based on the number
of incentive points they've earned, they get to choose x numbers
between 0 and 9999. Each day a jackpot number is drawn. If there's a
winner, he wins the jackpot. If not, the jackpot goes up $1 for
tomorrow.
Until now, I've used the random number generator at www.random.org to
generate a list of numbers to give out to students. I paste it into
Excel, highlight the number of numbers a given student deserves, and
print them. This works fine.
What I'm looking for is this:
1) A random number generator (freeware) that works similar to the one
one www.random.org, but that I can run locally without having to be
connected to the Internet. It must output a large number of numbers
between x and xxxxx in a format that can be pasted into Excel. The
numbers should be as random as possible. I have no programming number,
so the program must be easy to use, and an executable (.exe).
2) In order to enhance the draw each day, I would like a program that
will generate only 1 random number between x and xxxxx, but will do so
in a fashion similar to a lottery, or perhaps like a slot machine,
with a slight delay between each digit chosen. Like 0...... 4.......
5....... 1 instead of just spitting out 451.
The second part of my request is not an absolute necessity. If the
random number generator in 1) is capable of spitting out 1 such
number, even if it does so without staggering the digits, I guess it
would be good enough.
Thanks in advance for your help. |
Request for Question Clarification by
techtor-ga
on
07 Jul 2003 01:26 PDT
So far all the number generator software I could find are shareware
(ranging from $12-99, but mostly around $20). The only free program I
spotted does only 1 to 99, meant for the lottery.
|
Request for Question Clarification by
cynthia-ga
on
07 Jul 2003 13:17 PDT
Hi hofferino,
Unless I'm missing something, this Random Number Generator is
downloadable for free to use offline.
Go here:
http://segobit.virtualave.net/rng.htm
And scroll to:
LINEAR CONGRUENTIAL METHOD & BIT SHIFT METHOD
Download them and see if it works for you. The one at the top costs
$20.00, not free, but the screenshot looks perfect, I'm hoping the
free ones are similar!
If these work for you, let me know and I'll post it in the answer box
so I can get paid. If it doesn't work, please clarify why so I can
look for another.
~~Cynthia
|
Clarification of Question by
hofferino-ga
on
07 Jul 2003 17:07 PDT
Cynthia-ga,
The random number generators at the link you provided are either
shareware, or freeware -- the freeware version providing only 1 random
number and you can't set its parameters.
I don't know if the shareware one would suit my needs, but I'm not
willing to pay $20 to find out.
The Excel solution posted by carnegie-ga is so far the best for me.
I guess, as neo-dragon-kai-ga suggests, this may call for a custom
program, if no one has as yet done such a thing.
Anyone familiar with Excel macros? Perhaps the slot-machine effect
could be achieved by generating 4 number between 0 and 9 and putting a
time lag for each one showing up. Can this be done??
|
Request for Question Clarification by
cynthia-ga
on
11 Jul 2003 11:34 PDT
I don't know enough about formulas to make this work, but I did look
at it and it seems to be what you want. It does not require
installation.
Here's the readme file explanation:
..."This program is a random number generator that uses the equation
r = ((a * b) + c) mod d
Use d for the highest random number generated that you want.
a, b, and c are whatever values you want to generate random as
possible numbers.
It will ask for a then b then c then d then how many numbers you want.
It will write all the random numbers to a file called pad.rnd from the
directory that it was run it.
You will have to play with the equation to find tune how you
want your random numbers. Good Luck..."
Here's the file, let me know if it works for you:
http://www.geocities.com/random1967/random.zip
|
Clarification of Question by
hofferino-ga
on
23 Jul 2003 22:00 PDT
Rac-ga, with his Excel macro, seems to have done the trick for me. I
know Excel random numbers aren't truly random, but they're good enough
for me.
Thanks to all who lent a hand!
|