Population Ecology Lab for a lung gas exchange
Built for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition. Simulate a lung gas exchange live below — adjust the inputs and watch it respond, right in your browser.
Controls
Presets
Two coupled equations produce the classic boom-and-bust cycle: prey multiply, predators feast and multiply, prey crash, predators starve, and the cycle repeats. The phase portrait shows the closed orbit — populations forever chasing each other, never settling.
Data Inspector
Governing equation
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
Controls
Presets
Exponential growth assumes unlimited resources and explodes without bound. Logistic growth adds a carrying capacity K: as the population nears K, growth slows and levels off in a characteristic S-curve. It is the foundation of ecology, epidemiology, and resource management.
Data Inspector
Governing equation
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
Controls
Presets
Even with no selection, allele frequencies wander purely by chance as each generation is randomly sampled from the last. In small populations this genetic drift is fast and alleles quickly fix or vanish; in large populations it is slow. Each colored line is an independent population starting from the same frequency.
Data Inspector
Governing equation
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
Controls
Presets
Without selection, allele frequencies stay put and genotypes settle at p², 2pq, q² — Hardy-Weinberg equilibrium. Give the genotypes different fitness and selection shifts the allele frequency each generation. Heterozygote advantage (high Aa fitness) can hold both alleles in a stable balance.
Data Inspector
Governing equation
Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.
More with Population Ecology Lab
Frequently asked questions
- Is this good for students?
- Yes — this version of "Population Ecology Lab for a lung gas exchange" is framed for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition.
- Do I need to install anything?
- No. It runs in any modern browser, free, with no account required.