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