Suppose we create a linear congruential pseudorandom number generator with a=11, b=12, m=23 and we use it to generate a random number uniformly distributed between 0 and 1 with seed s=15. What is the first random number that we will generate? (give your answer to 4 decimal places).
Using Excel
Step 1: Click the “Data” tab and then click “Data Analysis.” If you don’t see Data Analysis
Step 2: Type how many columns you want to populate in the Number of Variables Box. Say 1
Step 3: Type how many random numbers you want in each column into the Number of Random Numbers box Say 1
Step 4: Select a distribution, " Uniform Distribution "
Step 5: enter seed value in seed box say 15
Step 6: Tell Excel where you want the output, Say A1
Step 7: Press ok
you get single random number between 0 to 1 from uniform distribution.
It may varry from person to person or every trial it may different value.
My answer is 0.318278 upto foru decimal places it will be 0.3183
Get Answers For Free
Most questions answered within 1 hours.