fixed typo in install.xml
[iDMC.git] / models / logistic.lua
blob804276dcd39e984b024bc70af815078c785af91d
1 --% ft| BIFURCATION_1 sn| Period-doubling~route~to~chaos n| #0 d| .2 n| #1 d| mu n| #2 d| 2.9 n| #3 d| 4 n| #4 d| -0.1 n| #5 d| 1.1 n| #6 d| 500 n| #7 d| 500 n| #8 d| x
2 --% ft| TRAJECTORY_T1_V0_A1_O0 sn| Convergence~to~a~4-cycle n| #0 d| 0.715 n| #1 d| 3.5 n| #2 d| 0 n| #3 d| 75 n| #4 d| 75 n| #5 d| x
3 --@@
4 name = "Logistic"
5 description = "See Model refs in user's guide"
6 type = "D"
7 parameters = {"mu"}
8 variables = {"x"}
10 function f(mu, x)
12 y = mu*x*(1 - x)
14 return y
16 end
18 function Jf(mu, x)
20 return mu - 2 * mu * x
21 end