7.8 With the linear congruential algorithm, a choice of parameters that provides a full period does not necessarily provide a good randomization. For example, consider the following two generators: Xn+1 = (6Xn) mod 13 Xn+1 = (7Xn) mod 13 Write out the two sequences to show that both are full period. Which one appears more random to you? | |
| View Solution | |
| << Back | Next >> |