◼
We can build a manipulate interactive tool that allows you to adjust certain parameter values like the carrying capacity, growth rate, and initial conditions.
In[]:=
Manipulate[p[n_]:=p[n-1]+R*(1-(p[n-1]/Cap))*p[n-1];p[0]=p0;Column[{Show[ListPlot[Table[{n,p[n]},{n,0,12}],PlotStylecolor,PlotLabel"NonLinear Discrete Dynamical System Carrying Capacity",LabelStyleDirective[Black,Bold]],ImageSizeLarge],Framed[Labeled[R,"Rate of Growth",Top]],Framed[Labeled[Cap,"Carrying Capacity Cap",Top]],Framed[Labeled[p0,"Inititial Condition p0",Top]],TableForm[Table[{n,p[n]},{n,0,12}],TableHeadings{None,{"n iterations","p[n] output"}}]}],{{R,.6},-1,3,.2},{{Cap,1000},1,1000,50},{{p0,30},0,1000,100},{{color,Red},{Red,Blue,Green,Brown,Orange,Yellow}}]
Out[]=