Use the linear congruential generators (LCGS) method (Z = (aZ -- + c) mod m) to generate a sequence of 10 pseudo-random
-
- Site Admin
- Posts: 899559
- Joined: Mon Aug 02, 2021 8:13 am
Use the linear congruential generators (LCGS) method (Z = (aZ -- + c) mod m) to generate a sequence of 10 pseudo-random
Use the linear congruential generators (LCGS) method (Z = (aZ -- + c) mod m) to generate a sequence of 10 pseudo-random numbers (PRN). Using multiplier a = 65539, increment c = 0. modulus m = 210 and seed value Zo = 7. After that use the Kolmogorov-Smirnov (K-S) test with a critical value Da= 0.41 to compare the distribution of the set of PRNs generated to a uniform distribution We need to write down the 10 random number in the first line then do the K-S test in your paper and write down Only D and D and D and the decision of comparison with Da = 0.41 A. BI