Menu

(Solved) : Parts B C Supposed Done Matlab Python Scripts Help Please Q36736161 . . .

(10 points) The infamous RANDU generator was part of the Scientific Subroutine Package on IBM main-frame computers in the 196Parts b and c are supposed to be done in MATLAB or Python scripts.Help please!(10 points) The infamous RANDU generator was part of the Scientific Subroutine Package on IBM main-frame computers in the 1960s; the generator corresponds to with a = 65530, c = 0 and Tn = 231, (a) Show that In+2-6/n+1 + 91,ー0 mod m. Hint: Recall that ab mod m means a-kmb for some integer k. Another useful fact is that a 65539-216+3. b) Implement RANDU and verify graphically its severe lack of equi-distribution by creating a three dimensional plot of the 10, 000 points for some odd lo of your choice. More precisely, plot (in 3D) {(4.1,In , In+1)/m} 1, . . . , 10,000. n (c) Plot {I/m for n-1, 10000 as a histogram with 30 bins Show transcribed image text

Expert Answer


Answer to Parts B C Supposed Done Matlab Python Scripts Help Please Q36736161 . . .

OR