Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. The random number generators implemented in Arena and SAS use the following generalization of the linear congruential algorithm where the parameters Al A2,Bl,B2+M1, and

image text in transcribed

3. The random number generators implemented in Arena and SAS use the following generalization of the linear congruential algorithm where the parameters Al A2,Bl,B2+M1, and M2 are strategically chosen >0, assign nM1+1 rn Else, assign On M1+1 Using the parameters Al = 3. = 2. B = 7. B2 = 3, M = 31, M2 = 23 and the seeds 20 = 0,X1 = (a) Generate 500 numbers only using the method X,-(Aix,-2-A2Xn-3) modMi. Did you observe (b) Generate 500 numbers only using the method Yn (BiYn-1- B2Yn-3)modM2. Did you observe (c) Generate 500 numbers using the whole algorithm and plot (i, Zi). Compare all three plots. Which a cycle? Plot the values you generated in a scatter plot for (i, X;) a cycle? Plot the values you generated in a scatter plot for (i, Yi) method seems to generate better quality pseudo-random numbers? Explain your comparison. 3. The random number generators implemented in Arena and SAS use the following generalization of the linear congruential algorithm where the parameters Al A2,Bl,B2+M1, and M2 are strategically chosen >0, assign nM1+1 rn Else, assign On M1+1 Using the parameters Al = 3. = 2. B = 7. B2 = 3, M = 31, M2 = 23 and the seeds 20 = 0,X1 = (a) Generate 500 numbers only using the method X,-(Aix,-2-A2Xn-3) modMi. Did you observe (b) Generate 500 numbers only using the method Yn (BiYn-1- B2Yn-3)modM2. Did you observe (c) Generate 500 numbers using the whole algorithm and plot (i, Zi). Compare all three plots. Which a cycle? Plot the values you generated in a scatter plot for (i, X;) a cycle? Plot the values you generated in a scatter plot for (i, Yi) method seems to generate better quality pseudo-random numbers? Explain your comparison

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

Prepare a short profile of Lucy Clifford ?

Answered: 1 week ago

Question

Prepare a short profile of Rosa parks?

Answered: 1 week ago

Question

Prepare a short profile of victor marie hugo ?

Answered: 1 week ago