Question
Write a programme using only C++ to sequentially occupy random sites on a 2-D square lattice with each site occupied with a probability p .
Write a programme using only C++ to sequentially occupy random sites on a 2-D square lattice with each site occupied with a probability p . Identify and record cluster formation (ie new occupied site has at least one neighbour site occupied) and also cluster bridging where the occupation of a given site links two (or more) clusters. Percolation occurs when a single cluster spans the lattice, i.e. touches all four edges. Reproduce the shown Figure and show how to estimate the smallest probability at which a spanning cluster will form (the critical probability, pc)
Ranao1 Fire burn-out time 100 80- lattice size = 50 x 50 60 40 20 ,0 0.8 0.4 site concentration 0 0.2 0.6 Ranao1 Fire burn-out time 100 80- lattice size = 50 x 50 60 40 20 ,0 0.8 0.4 site concentration 0 0.2 0.6Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started