English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-01-02 07:05:38 · 9 answers · asked by capri 1 in Science & Mathematics Mathematics

9 answers

Six.

It is random, I just thought it up.

There are calculators that use modular arithmetic and generate random decimals between 0 and 1. You can then stretch this via a+(b-a)*random# to get a random decimal between a and b. If you want a whole number, you then round.

2007-01-02 07:07:57 · answer #1 · answered by a_math_guy 5 · 0 0

most computer programming languages can generate pseudorandom numbers that are close enough to be used by statisticians. Java by Sun Microsystems is free and available for download online, the only trouble being getting the path set. Excel also has a this feature.

R is a free (and complex) statisticial programming language, but it is easy to use their random number generator.

If you want to do it without using a computer, many statistics books have some page(s) of random numbers, just randomly pick a column, and go down the list choosing only those numbers that are within that frame of numbers you have as endpoints.

For example if the number is between 1 and 5 and you want no decimals:

10480
22368
24130
42167

you would (could) pick: 1,2,2,4

read a statistics text for details.

2007-01-02 07:21:13 · answer #2 · answered by Anonymous · 0 0

What two numbers? 1 and 3? 134571 and 64821631?

2007-01-02 07:08:40 · answer #3 · answered by PerfectlyDelirious 4 · 0 1

Let x be any number between 0 and 1

a is the lower number
b is the higher number

Random number is a + x(b - a)

2007-01-02 07:10:57 · answer #4 · answered by Tom :: Athier than Thou 6 · 2 0

Voooooooaaaallllllaaaa : <% Randomize Dim LastMax,MIN,Num_of_Val,MAX,This_Rnd This_Rnd = 0 Min = 0 '*** Minimum value Max = 1000 '*** Maximum value Num_of_Val = 5 '*** Number of value you want it to return for t= 1 to Num_of_Val do while This_Rnd <= MIn '*** loop until a greater value is returned This_Rnd = INT(((Max - MIN) * Rnd) + Min) '*** Generate the random value if t = 1 and This_Rnd >= ((Max - MIN) - (Num_of_Val + 1)) then This_Rnd = 0 '*** Check if the first return value will allow the application to the number of value requested loop Min = This_Rnd response.write (This_Rnd & "
") next %>

2016-03-29 04:47:02 · answer #5 · answered by ? 4 · 0 0

Presuming you want a uniform distribution, in Excel make A1 one number and A2 the other number. Then in a third cell input =A1+RAND()*(A2-A1) and it would generate a number for you.

2007-01-02 07:23:21 · answer #6 · answered by Kyrix 6 · 1 0

7

the number that 6 feared, since it ate 9

2007-01-02 07:11:01 · answer #7 · answered by disoneguy300 3 · 0 1

This is not so trivial as it may sound.
Check out: http://www-personal.engin.umich.edu/~wagnerr/MersenneTwister.html
and if you want to learn more about it:
http://en.wikipedia.org/wiki/Mersenne_twister

2007-01-02 07:11:34 · answer #8 · answered by Boehme, J 2 · 1 0

http://en.wikipedia.org/wiki/Random_number_generator

One way to do it is physically by a stochastic process, like throwing dice.

2007-01-02 07:39:22 · answer #9 · answered by Jerry P 6 · 0 0

fedest.com, questions and answers