Question: Use python 3 built in random number generator Part a plots a) Graphical tests of randomness For a large sequence of N pseudo-random numbers ri,12,...,/v,

Use python 3 built in random number generator Part a plots a)Use python 3 built in random number generator Graphical tests of randomness For a large sequence of N pseudo-random numbers

Part a plots

ri,12,...,/v, make a 2D scatter plot of Xi = , y =

a) Graphical tests of randomness For a large sequence of N pseudo-random numbers ri,12,...,/v, make a 2D scatter plot of Xi = , y = +1. Does the scatter plot have any noticeable regularity? Do the scatter dots uniformly fill the square? c) Tests of near neighbour correlations For your pseudo random sequences for part a), also determine the values of xX for j 1,2,3. Do your average values of C(j) approach the theoretical limit of Ya? Does the deviation from this limit scale as O 1/ N ? Produce similar plots as for part a) and discuss. 1.0 0.4 0.2 0.0 0.0 0.2 0.4 0.6 0.8 1.0

Step by Step Solution

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