Question: Use mixed congruential method to generate three sequences of five two-digit random integers with xo,1= 37, X0,2= 39, xo,3= 41, a= 9, and c=

Use mixed congruential method to generate three sequences of five two-digit random

Use mixed congruential method to generate three sequences of five two-digit random integers with xo,1= 37, X0,2= 39, xo,3= 41, a= 9, and c= 35. Hint: 1. The sequences - as you have three starting points you automatically have three squences with the same parameters. Hint 2: Try the easiest m options 10, 100, 1000 to see which one will give you two-digit random integer (not decimal) [and you only need to produce five for each sequence]. If you cannot achive with these easy ones at least you will have an idea about how to chose an m for haveing a two dgit answer...

Step by Step Solution

3.37 Rating (147 Votes )

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 Mathematics Questions!