Question: III. Uniform Law over an interval [0,1]: Write a C ++ program that generates a uniform distribution of non-integer numbers belonging to the interval [0,1]

III. Uniform Law over an interval [0,1]:

Write a C ++ program that generates a uniform distribution of non-integer numbers belonging to the interval [0,1] using IBM's RANDU generator (1960s) defined by:

III. Uniform Law over an interval [0,1]: Write a C ++ program

The initial value x0 is an odd number.

1. Determine the period of this generator.

2. Represent by a graph the numbers generated according to their frequency of appearance.

3. In accordance with the course notes, take the following tests:

- Generator value indicator

-Tests of independence between the elements generated

-Test to verify the adequacy between the sample generated and a uniform population

x; = (65539xi-l)lutod(231) = !M 282 x; = (65539xi-l)lutod(231) = !M 282

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!