Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment # 4 Random Number Generator & LCGs Problem 1 . Consider an L C G , Z i + 1 = ( a Z

Assignment #4
Random Number Generator & LCGs
Problem 1. Consider an LCG,Zi+1=(aZi+35)(mod1872). Find the smallest value of
multiplier a such that the LCG has full period.
Problem 2. Consider the PMMLCG
(1) What is the possible maximal period length?
(2) Find a value of a such that the PMMLCG has the maximal period.
Problem 3. Use the PMMLCG Zi+1=(16807Zi)(mod(231-1)) with
to do the following:
(1) Generate 5000 random numbers Ui.
(2) Let
for i=1,dots,5000.
(3) Use Input Analyzer to perform goodness-of-fit on xi.
(4) What is the best-fitted distribution?
Problem 4. Use Excel's RAND() to redo Problem 3.
image text in transcribed

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

=+ ^ What is the budget for this project?

Answered: 1 week ago

Question

Question Can any type of stock or securities be used in an ESOP?

Answered: 1 week ago

Question

Question Can a self-employed person adopt a money purchase plan?

Answered: 1 week ago