Consider a composite random number generator consisting of t

Consider a composite random number generator consisting of two multiplicative linear congruential generators. The first random number generator has a modulus of 127 and a multiplier of 43. The second random number generator has a modulus of 101 and a multiplier of 51. This will yield a random number stream with a period of 6300. Show your understanding of composite generators by giving the first four random numbers that this generator would produce. Use an initial seed of 7 for the first generator and of 17 for the second generator. Note that the initial seeds do NOT yield a random number. Give your answers for the random numbers accurate to four digits to the right of the decimal.

Solution

 Consider a composite random number generator consisting of two multiplicative linear congruential generators. The first random number generator has a modulus o

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site