Question

You need to generate five uniform random numbers.
(a) Prepare to do this by using the mixed congruential method to generate a sequence of five random integer numbers between 0 and 31 such that xn+1 ≡ (13xn + 15) (modulo 32) and x0 = 14.
(b) Convert these random integer numbers to uniform random numbers as closely as possible.


$1.99
Sales0
Views19
Comments0
  • CreatedSeptember 22, 2015
  • Files Included
Post your question
5000