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.

Slides:



Advertisements
Similar presentations
Additional notes… Populations & Growth, Limiting Factors
Advertisements

Chapter 13.
Populations.
Pedro Ribeiro de Andrade Gilberto Câmara
Pg. 49 activity 1-2C. Prey and predators must stand 0.5 m back to habitat If half of more of prey is covered by predator, the prey has been CAPTURED and.
A Brief Introduction. One of the only truly long-term sets of ecological data comes to us from the Hudson Bay Trading Company. They kept very good records,
STAGES OF POPULATION GROWTH. Population Growth can be… Exponential ORLimited (J curve)(S curve)
DAY ONE Chapter 8 Understanding Populations
Understanding Populations Chapter 8. What is a Population? A population is a reproductive group because organisms usually breed with members of their.
What is a Population A population is a group of organisms of the same species that live in a specific geographical area and interbreed. A population is.
Modeling Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo.
Population Simulation
Two Species System n y ’ = rn y - an y n d –r = independent prey population increase rate –a = effect of predator on prey population n d ’ = bn y n d -
POPULATION DENSITY, DISTRIBUTION & GROWTH.  Density is a measure of how closely packed organisms are in a population  Calculated by … DENSITY # of individuals.
 Review: Population is a group of 1 species living in the same place at the same time.  A species is defined by reproduction (with each other, producing.
Population Ecology Population: A group of organisms that belong to the same species that live in the same place at the same time.
AiS Challenge Summer Teacher Institute 2004 Richard Allen Modeling Populations: an introduction.
Lynx & Hare Learning Objectives 1.Students will be able to calculate population density. 2.Students will be able to graph the size of a population over.
DO NOW: Today we are studying how a predator population and a prey population affect each other. Read Analysis Questions #3 and 4 and write your hypothesis.
PYTHON PLOTTING CURVES CHAPTER 10_5 FROM THINK PYTHON HOW TO THINK LIKE A COMPUTER SCIENTIST.
Population size and density Population size Population size Determined by: Determined by: actual count actual count Sampling Sampling Population Density.
Vocabulary and pictures.  A group of organisms of one kind that live together in one location.
Population Ecology u Study of the factors that affect population size and composition.
6.1 Relationships in the Ecosystem. Predators and Prey Predator= A consumer that actively hunts other living organisms. Prey= The organism that a predator.
Ecology Day 11 Learning Target: Students can predict population growth and understand limits on growth. Agenda: 1)Population Growth Notes 2)Homework: 1)Read.
Understanding Populations Chapter 8 Complete Case Study page Quick notes on Chapter 8 Groups of 3 – Biome PowerPoint Look on page 143 to pick your.
1 CSC 221: Introduction to Programming Fall 2012 Functions & Modules  standard modules: math, random  Python documentation, help  user-defined functions,
Chapter 53: Population Ecology. Essential Knowledge  2.a.1 – All living systems require constant input of free energy (53.3 & 53.4).  2.d.1 – All biological.
Understanding PopulationsSection 1 Do Now Due to your stunning good looks and charismatic personality, you have just been elected ruler of a small island.
Population Biology Unit 2 Chapter 4. Population: group of same species living in a specific area This is a population of bacteria that can be studied.
Measuring Populations Growth Rate- the amount by which a population’s size changes over time. –Birth, death, immigration, and emigration Immigration- how.
Copyright © by Holt, Rinehart and Winston. All rights reserved. ResourcesChapter menu Section 1 How Populations Change in Size Objectives Describe the.
Modeling Interaction: Predator-Prey and Beyond CS 170: Computing for the Sciences and Mathematics.
May 4, 2012 Kyle Jager. Populations A population is all the members of one species that live in a defined area Populations fluctuate based on environmental.
Honors Biology – Chapter 5
Predicting predator-prey populations. Desired results.
Ecology II: Communities and Populations. Population: the total number of a certain species in a given area.
Please pass back the new objective sheet. Please get out your signed permission slip and $15 for pick up. Take your “Tradeoffs- Sage Grouse and energy”
Chapter 52: Population Ecology. Population Ecology  Study of the factors that affect population size and composition.  Population Individuals of a single.
Presentation Made by Me Pavel Lazukin Competitive Predator-Prey Model.
Chapter 2.  Commensalism  Host  Mutualism  Parasites  Parasitism  Symbiosis  Predator  Prey Predator and Prey.
Wildlife Biology Population Characteristics. Wildlife populations are dynamic – Populations increase and decrease in numbers due to a variety of factors.
Populations. Remember a population is… A group of the same species in the same area at the same time. A group of the same species in the same area at.
AiS Challenge Summer Teacher Institute 2003 Richard Allen Modeling Populations: an introduction.
Section 3: Interactions among Living Things. How Do An Organisms Adaptations Help it to Survive? ◊Natural Selection: when a trait helps an organism survive.
Predicting predator-prey populations. Desired results.
Ecology – Part 3 – General Biology Carrying Capacity Population Growth Human Population Biodiversity.
Testing i. explain the importance of system testing and installation planning;
Machine Language Computer languages cannot be directly interpreted by the computer – they are not in binary. All commands need to be translated into binary.
Populations Objective Discuss what a limiting factor for population growth is. Limiting factor Density-dependent limiting factor Density-independent limiting.
Announcements Topics: -Introduction to (review of) Differential Equations (Chapter 6) -Euler’s Method for Solving DEs (introduced in 6.1) -Analysis of.
Topic: Functions – Part 1
Predator/Prey Relationships
Ch. 5 Populations.
Bellwork: Mon. May 9, 2016 Interspecific Competition: competition between species like the coyote and the lynx for the snowshoe hare Intraspecific.
How Populations Grow Three important characteristics of a population are geographic distribution, population density, and population growth rate.
Bullet 2: Fluctuations in Population Growth
Population Ecology.
EQ: How do we measure populations?
Honors Biology – Chapter 5
NOTES 31 – Population Ecology
Population Growth.
Section 4.1 Summary – pages 91-99
Simplify Algebraic Expressions
Test Review answers for Populations and Communities
Trials & laws & Large Numbers (Large Number Theory)
Bell Work 2/8/18 Get all 8 handouts (Population Ecology) from the front table and paste them into the appropriate page on your notebook ( ) If you.
Find the Distribution Chapter 2.3.
Chapter 14 Regulation of POPULATION SIZE
Presentation transcript:

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.

Computational Thinking Recipe (Algorithm) Relevant input Answer Abstraction Automation Problem description Computational goal Information extraction Algorithm design Algorithm implementation

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

Improve Algorithm Separate parts Generalize Articulate goals

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

Why Separate Parts? Simpler Independently useful

Generalize beyond Hares & Lynxes

Articulate Goals

Express as Python Code

Use What Kinds of Python Data?

… …

Translate Piece by Piece def populations(prey0,pred0,growth,predation,conversion,death,years): """Returns the predicted populations of two species, given their initial populations, the prey's growth rate, the predation rate, the predator's food conversion rate, the predator's death rate, and the number of years to predict.""" prey = [prey0] pred = [pred0]

Translate Piece by Piece for y in range(years):

prey.append( ) Translate Piece by Piece prey[y]prey[y] *+(growth-predation*pred[y]) pred.append( ) pred[y]pred[y] *+(conversion*prey[y]-death)

Translate Piece by Piece returnpreypred,

Put the Function’s Pieces Together def populations(prey0,pred0,growth,predation,conversion,death,years): """Returns the predicted populations of two species, given their initial populations, the prey's growth rate, the predation rate, the predator's food conversion rate, the predator's death rate, and the number of years to predict.""" prey = [prey0] pred = [pred0] for y in range(years): prey.append(prey[y] + prey[y] * (growth-predation*pred[y])) pred.append(pred[y] + pred[y] * (conversion*prey[y]-death)) return prey, pred

How to Use The Code? pred, prey = populations(100,50,.4,.003,.004,.2,10)

A Useful Aside def populations(prey0,pred0,growth,predation,conversion,death,years): """Returns the predicted populations of two species, given their initial populations, the prey's growth rate, the predation rate, the predator's food conversion rate, the predator's death rate, and the number of years to predict.""" prey = [prey0] pred = [pred0] for y in range(years): print "y = ", y print "prey = ", prey print "pred = ", pred prey.append(prey[y] + prey[y] * (growth-predation*pred[y])) pred.append(pred[y] + pred[y] * (conversion*prey[y]-death)) return prey, pred

Plotting import matplotlib.pyplot as plt def plotPopulations(times,prey,pred,preyName,predName): """Displays a plot of two populations over the given times.""" # Prey use circles connected by solid line. preyPlot = plt.plot(times, prey, 'o-' ) # Predators use squares connected by dotted line. predPlot = plt.plot(times, pred, 's:' ) # Place legend box in "best" location. plt.legend((preyPlot, predPlot), (preyName, predName), 'best') plt.xlabel('Years') plt.ylabel('Population') plt.title('Predator-Prey Model') plt.show()

Putting Everything Together import matplotlib.pyplot as plt def populations(…): … def plotPopulations(…): … prey, pred = populations(100,50,.4,.003,.004,.2,10) times = range(len(prey)) plotPopulations(times,prey,pred,"Hare","Lynx")