 ## Pseudo-random numbers: main information

The simulation of random processes from real life is often very tedious and time-consuming. This is especially true for generating random numbers and working with these numbers

Pseudo-random numbers

The simulation of random processes from real life is often very tedious and time-consuming. This is especially true for generating random numbers and working with these numbers (if necessary, using appropriate tables).

Today it is possible to use random numbers generated by computers, so-called pseudo-random numbers - do my homework website . The basis for their generation is an algorithm that delivers sequences of numbers that have approximately the same properties as real random numbers.

The simulation of random processes from nature, technology and society through corresponding random experiments, such as drawing balls from urns, is often very tedious and time-consuming - math xl answers . Therefore, it is obvious to realise (simulate) these experiments by computer. For this purpose, random numbers generated by the computer, so-called pseudo-random numbers, are used, which are generated with the help of a (pseudo-)random number generator.

The basis for the generation is a (deterministic) algorithm that delivers sequences of numbers that have approximately the same properties as real random numbers. Generally, calculators and computers use the RANDOM function as a random number generator -  analogy helper   , which uses such algorithms and provides pseudo-random numbers between 0 and 1. A BASIC program for obtaining such numbers is given below:

10 REM random numbers

20 INPUT A

30 INPUT N

40 RANDOMIZED

50 FOR I=1 TO A

60 Z=INT (N*RND(1))+1

70 PRINT Z

80 NEXT I

90 END

You can also print (pseudo-)random numbers with the help of spreadsheet programs.

There are various criteria for checking the "quality" of the pseudo-random numbers. For example, the following should apply to the relative frequencies of the digits 0 to 9:

hn(0)≈hn(1)≈...≈hn(9)≈1/10