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 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
Get step-by-step solutions from verified subject matter experts
