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](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f454ac8e7dc_49266f454ac34bba.jpg)
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
Get step-by-step solutions from verified subject matter experts
