next up previous

Exercise 7: Visualization of some poor LCGs.
Modify the ranlc.f code to output pairs of numbers as , , , etc. Plot these discrete points for the following cases:

 
 		 (a) a = 66, c = 0, , 4,095 points (4,096 random numbers)

(b) a = 5, c = 0, , 4,095 points (4.096 random numbers)