So I want to use the NestList[]
function, but i'm not sure how to achieve this for a system of equations like I have here $P_{n+1} = (rP_n +sQ_n)(1 - \frac{P_n + Q_n}{100}), \; Q_{n+1} = P_n$. Does anyone know how to do this?
I have (where x is P and y is Q)
PP[s_, x_, y_] := (rx + s y) (1 - (x + y)/100)
QQ[x_] := x
where r is a constant and s is a variable. This means the equilibrium of this system will depend on s.
but don't know how to set up the NestList[]
function for this. If this was one function I would do something like NestList[f,x,5]
. So in the end I want to have a list of coordinates.
As another example of what I want, see the first example in this
(where x is P and y is Q)
? $\endgroup$QQ[]
function represents the $Q_{n+1} = P_n$ equation. $\endgroup$