# Your code here.Project 3: Discrete logistic growth
MCSB Bootcamp — Mathematical and Computational Track
Model statement
Suppose a rabbit colony has a population at month , where is measured in thousands. If the population were growing in an unbounded environment, the population obeys
where is the per-capita growth rate. Suppose instead the population is in a bounded environment (like an island), so growth is limited and the population obeys
where is a parameter we refer to as the carrying capacity.
Part I
Suppose and .
- According to your intuition, what population sizes are steady states, meaning that if the population had that value at time , then it would remain at that value?
Your answer here.
- Sketch your intuition for the population from a starting population .
Your answer here.
Part II
Write code to solve the dynamical system, and answer the following questions:
- Suppose and . Generate time series of the populations for a few starting populations . Does it match your intuition?
- Suppose and . Generate time series of the populations for a few starting populations .
# Your code here.Part III
In a discrete-time dynamical system, if the population cycles between two values, the solution is called a two-cycle. Cycling between values is called an -cycle.
- Check that at and there is a 4-cycle.
# Your code here.- (Optional) Can you find a value of , and that gives a 3-cycle?
# Your code here.- In this part, we will do a parameter sweep for , with fixed . The goal is to generate a diagram where the horizontal axis is the parameter value . On the vertical axis, if there is a stable steady state, plot the steady-state population. If there is an -cycle, plot the values of that it cycles through.
Hint: One way to plot the steady state or the -cycle is to simulate the system until , and plot the last half of the values of . You need to choose large enough so that the dynamics have settled into their steady state (or steady cycle) by .
Hint: How many values should you explore?
# Your code here.This type of behavior in a dynamical system is called chaos! This particular type of chaos is called period-doubling chaos.