# Question

Use the mixed congruential method to generate the following sequences of random numbers.

(a) A sequence of 10 one-digit random integer numbers such that xn + 1 ≡ (xn + 3) (modulo 10) and x0 = 2

(b) A sequence of eight random integer numbers between 0 and 7 such that xn + 1 ≡ (5xn + 1) (modulo 8) and x0 = 1

(c) A sequence of five two-digit random integer numbers such that xn + 1 ≡ (61xn + 27) (modulo 100) and x0 = 10

(a) A sequence of 10 one-digit random integer numbers such that xn + 1 ≡ (xn + 3) (modulo 10) and x0 = 2

(b) A sequence of eight random integer numbers between 0 and 7 such that xn + 1 ≡ (5xn + 1) (modulo 8) and x0 = 1

(c) A sequence of five two-digit random integer numbers such that xn + 1 ≡ (61xn + 27) (modulo 100) and x0 = 10

## Answer to relevant Questions

Reconsider Prob. 20.3-1. Suppose now that you want to convert these random integer numbers to (approximate) uniform random numbers. For each of the three parts, give a formula for this conversion that makes the approximation ...You are given the multiplicative congruential generator x0 = 1 and xn+1 ≡ 7xn (modulo 13) for n = 0, 1, 2, . . . . (a) Calculate xn for n = 1, 2, . . . , 12. (b) How often does each integer between 1 and 12 appear in the ...Among its many financial products, the Prudent Financial Services Corporation (normally referred to as PFS) manages a well-regarded pension fund that is used by a number of companies to provide pensions for their employees. ...Refer to the spreadsheet file named “Everglade Problem 21-9” contained in the Excel files for this chapter on the book’s website. This file contains a formulation of the Everglade problem considered in this chapter. ...The Lockhead Aircraft Co. is ready to begin a project to develop a new fighter airplane for the U.S. Air Force. The company’s contract with the Department of Defense calls for project completion within 100 weeks, with ...Post your question

0