Question: Problem 3 Write a computer program in the language of your choice that generates a random graph drawn from the model G(n,p) for given values

Problem 3 Write a computer program in the language of your choice that generates a random graph drawn from the model G(n,p) for given values of n and p. Plot the degree distribution for difference choices of n and p, and compare this with the results that you obtained in Essay 3. Calculate the size of the largest component for n = 1000000 and different values of p, and compare your answer to the analytic prediction for the giant component G(n,p) in that regime
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
