Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a computer program in the programming language of your choice that generates a configuration model network with nodes of degree 1 and 3

Write a computer program in the programming language of your choice that generates a configuration model

Write a computer program in the programming language of your choice that generates a configuration model network with nodes of degree 1 and 3 only and then calculates the size of the largest component. a) Use your program to calculate the size of largest component for a network of n = 10 000 nodes with p = 0.6 and p3 = 0.4 (and pk = 0 for all other values of k). b) Modify your program to calculate the size of the largest component for values of P from 0 to 1 in steps of 0.01, then make a graph of the results as a function of p1. Hence estimate the value of p at the phase transition where the giant component disappears.

Step by Step Solution

3.47 Rating (150 Votes )

There are 3 Steps involved in it

Step: 1

Python using the NetworkX library to generate a configuration model network with nodes of degree 1 a... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Numerical Methods With Chemical Engineering Applications

Authors: Kevin D. Dorfman, Prodromos Daoutidis

1st Edition

1107135117, 978-1107135116

More Books

Students also viewed these Programming questions

Question

17. What procedure is most promising for treating musicians cramp?

Answered: 1 week ago