predicting predator-prey populations. desired results

10
Predicting predator-prey populations

Upload: deborah-york

Post on 05-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Predicting predator-prey populations. Desired results

Predicting predator-prey populations

Page 2: Predicting predator-prey populations. Desired results

Desired results

Page 3: Predicting predator-prey populations. Desired results

Here’s an approximation of reality:

The hare birth rate is constant, as their food supply is unlimited. Hares only die when eaten by a lynx, and the number of hares eaten is proportional to how often hares & lynxes meet, i.e., the chance of a lynx catching a hare.

The lynx birth rate is also proportional to how often hares & lynxes meet, i.e., the food available for each lynx family. Lynxes only die from natural causes, and their death rate is constant.

Lotka & Volterra, 1926Dr. Siemann, EEB

Page 4: Predicting predator-prey populations. Desired results

Computational Thinking

Recipe (Algorithm)

Relevant input

Answer

Abst

racti

on

Auto

mati

on

Problem description

Computational goalInformation extractionAlgorithm designAlgorithm implementation

Page 5: Predicting predator-prey populations. Desired results

Hares’ & Lynxes’ Populations

Recipe (Algorithm)

???

???

Problem description

Computational goalInformation extractionAlgorithm designAlgorithm implementation

Page 6: Predicting predator-prey populations. Desired results

Algorithm Decomposition

1. Generate population data.a. Repeatedly, generate next population.

2. Display population data.

Page 7: Predicting predator-prey populations. Desired results

Lotka & Volterra, 1926

The hare birth rate is constant, as their food supply is unlimited. Hares only die when eaten by a lynx, and the number of hares eaten is proportional to how often hares & lynxes meet, i.e., the chance of a lynx catching a hare.

The lynx birth rate is also proportional to how often hares & lynxes meet, i.e., the food available for each lynx family. Lynxes only die from natural causes, and their death rate is constant.

¿h ∙ (h h𝑎𝑟𝑒𝐵𝑖𝑟𝑡 −h𝑎𝑟𝑒𝑃𝑟𝑒𝑑𝑎𝑡𝑖𝑜𝑛 ∙𝑙 )Hare annual pop. change

¿ 𝑙 ∙ ( h𝑙𝑦𝑛𝑥𝐵𝑖𝑟𝑡 ∙ h− h𝑙𝑦𝑛𝑥𝐷𝑒𝑎𝑡 )Lynx annual pop. change

Page 8: Predicting predator-prey populations. Desired results

Initially (Year 0)

Year 1 Year 2 Year 3

# Hares 100

Haresborn

40

Hares eaten

15

# Lynxes 50

125

60

152

78

177

109Lynxes die

10

Lynxes born

20

50

23

12

30

61

36

16

47

71

58

22

77

+

-

-

+

.4 .003

.004 .2

¿h ∙ (h h𝑎𝑟𝑒𝐵𝑖𝑟𝑡 −h𝑎𝑟𝑒𝑃𝑟𝑒𝑑𝑎𝑡𝑖𝑜𝑛 ∙𝑙 )Hare annual pop. change

¿ 𝑙 ∙ ( h𝑙𝑦𝑛𝑥𝐵𝑖𝑟𝑡 ∙ h− h𝑙𝑦𝑛𝑥𝐷𝑒𝑎𝑡 )Lynx annual pop. change

Page 9: Predicting predator-prey populations. Desired results

Given , , , , , , .

Repeat these steps for :

Plot for .Plot for .

1. Generate population data.a. Repeatedly, generate next population.

2. Display population data.