4a

Percolation Model: Bank Contagion

Controls

Click any bank on the grid to trigger its failure and watch the cascade.


Sweeps connection density from 0 to 1 and plots largest cluster size, revealing the critical threshold.

Banks Failed
0
Total Banks
900
Cascade Size %
0%
Phase
Subcritical
Initialize grid, then click a bank to fail it

How It Works

Each cell is a "bank" connected to its neighbors with a given probability (connection density). When a bank fails, connected neighbors may also fail if the connection strength exceeds the failure threshold. Below a critical density (~0.5 for a square grid), failures remain local. Above it, a single failure can cascade through the entire system -- a phase transition.

The phase transition is sudden and dramatic: a small change in connectivity can mean the difference between a contained local failure and a system-wide collapse.

Real-World Examples

  • 2008 financial crisis: Interconnected bank failures cascaded globally
  • Power grid failures: Local overloads cascade through connected grids
  • Internet connectivity: Router failures can fragment the network
  • Forest fires: Tree density determines if fire spreads or stays contained
  • Supply chain disruptions: Single point failures propagate through networks
4b

SIR Disease Spread Model

Epidemic Controls

R0=1
R0
3.00
Susceptible
--
Infected
--
Recovered
--
Herd Immunity
67%
Day
0

How It Works

The SIR model divides a population into Susceptible (S), Infected (I), and Recovered (R). Each day, infected individuals spread the disease to susceptible neighbors with probability beta, and recover with probability gamma.

R0 = beta/gamma is the basic reproduction number. When R0 > 1, the disease spreads exponentially. When R0 < 1, it dies out. The herd immunity threshold is 1 - 1/R0: vaccinating above this percentage prevents epidemics.

Real-World Examples

  • COVID-19: R0 of 2-3 for original strain, higher for variants
  • Measles: R0 of 12-18, requiring ~95% vaccination for herd immunity
  • Seasonal flu: R0 of 1.3, mild but recurrent
  • Computer viruses: Spread through network connections
  • Viral marketing: "Contagious" ideas spread through social networks
4c

Bass Model: Technology Adoption & Diffusion

Diffusion Controls


Presets

Peak Adoption Period
--
Peak New Adopters
--
50% Adoption
--
Scenarios
0

How It Works

The Bass Diffusion Model describes how new products are adopted. Two forces drive adoption:

p (innovation): External influence -- people adopt from advertising/media independent of others. Drives early adoption by "innovators."

q (imitation): Internal influence -- people adopt because of word-of-mouth from existing adopters. Creates explosive growth in the "early majority" phase.

The formula: f(t) = [p + q*F(t)] * [1 - F(t)], where F(t) is cumulative adoption fraction. This produces the classic S-curve for cumulative adoption and a bell-shaped curve for adoption rate.

Real-World Examples

  • Smartphone adoption: p=0.03, q=0.38 -- strong word-of-mouth effect
  • Social media platforms: Very high q (network effects), low p
  • Electric vehicles: Higher p (policy incentives), moderate q
  • Streaming services: Netflix/Spotify -- explosive q-driven growth
  • Historical: Television (1950s), radio (1920s), telephone had different p/q ratios reflecting the technology and era