Sat Aug 13 08:02:08 2022 ASA183_TEST Python version: 3.6.9 Test asa183(). R8_RANDOM_TEST01 Python version: 3.6.9 R8_RANDOM computes pseudorandom values. Three seeds, S1, S2, and S3, are used. R S1 S2 S3 12345 34567 56789 0.294227 22434 5352 11416 0.112944 22320 11334 48 0.685823 2826 9800 8160 0.330013 29211 18715 22665 0.302333 696 6438 2029 0.844439 28209 16284 11377 0.561165 10968 12604 23741 0.592238 29119 16091 3011 0.704393 15233 9715 26702 0.891146 1709 4095 21213 R8_RANDOM_TEST01 Normal end of execution. R8_RANDOM_TEST02 Python version: 3.6.9 Examine the average and variance of a sequence generated by R8_RANDOM. Now compute 100000 elements. Average value = 0.50021 Expecting 0.5 Variance = 0.0832569 Expecting 0.0833333 R8_RANDOM_TEST02 Normal end of execution. R8_RANDOM_TEST03 Python version: 3.6.9 Show how the seeds used by R8_RANDOM, which change on each step, can be reset to restore any part of the sequence. Begin sequence with following seeds: S1 = 12345 S2 = 34567 S3 = 56789 I R S1 S2 S3 0 0.294227 22434 5352 11416 1 0.112944 22320 11334 48 2 0.685823 2826 9800 8160 3 0.330013 29211 18715 22665 4 0.302333 696 6438 2029 5 0.844439 28209 16284 11377 6 0.561165 10968 12604 23741 7 0.592238 29119 16091 3011 8 0.704393 15233 9715 26702 9 0.891146 1709 4095 21213 Restart the sequence, using the seeds produced after step 5: S1 = 28209 S2 = 16284 S3 = 11377 I R S1 S2 S3 0 0.561165 10968 12604 23741 1 0.592238 29119 16091 3011 2 0.704393 15233 9715 26702 3 0.891146 1709 4095 21213 4 0.821462 19818 7279 28096 5 0.783654 29019 9401 15609 6 0.800228 28402 10701 15429 7 0.683281 13702 22152 15152 8 0.0723374 12329 21769 28708 9 0.141241 19698 16507 28680 R8_RANDOM_TEST03 Normal end of execution. R8_UNI_TEST01 Python version: 3.6.9 R8_UNI computes pseudorandom values. Two seeds, S1 and S2, are used. R S1 S2 12345 34567 1 2147480754 2147480915 0.844306 1658870469 1993219933 0.890915 1770043239 2004301211 0.879507 1744748264 2003505192 0.88216 1750503592 2003562373 0.881552 1749194091 2003558266 0.881691 1749492040 2003558561 0.881659 1749424248 2003558540 0.881667 1749439672 2003558541 0.881665 1749436163 2003558541 R8_UNI_TEST01 Normal end of execution. R8_UNI_TEST02 Python version: 3.6.9 Examine the average and variance of a sequence generated by R8_UNI. Now compute 100000 elements. Average value = 0.881666 Expecting 0.5 Variance = 1.54893e-07 Expecting 0.0833333 R8_UNI_TEST02 Normal end of execution. R8_UNI_TEST03 Python version: 3.6.9 Show how the seeds used by R8_UNI, which change on each step, can be reset to restore any part of the sequence. Begin sequence with following seeds: S1 = 12345 S2 = 34567 I R S1 S2 0 1 2147480754 2147480915 1 0.844306 1658870469 1993219933 2 0.890915 1770043239 2004301211 3 0.879507 1744748264 2003505192 4 0.88216 1750503592 2003562373 5 0.881552 1749194091 2003558266 6 0.881691 1749492040 2003558561 7 0.881659 1749424248 2003558540 8 0.881667 1749439672 2003558541 9 0.881665 1749436163 2003558541 Restart the sequence, using the seeds produced after step 5: S1 = 1749194091 S2 = 2003558266 I R S1 S2 0 0.881691 1749492040 2003558561 1 0.881659 1749424248 2003558540 2 0.881667 1749439672 2003558541 3 0.881665 1749436163 2003558541 4 0.881665 1749436961 2003558541 5 0.881665 1749436780 2003558541 6 0.881665 1749436821 2003558541 7 0.881665 1749436812 2003558541 8 0.881665 1749436814 2003558541 9 0.881665 1749436813 2003558541 R8_UNI_TEST03 Normal end of execution. ASA183_TEST: Normal end of execution. Sat Aug 13 08:02:08 2022