fixes to installer
[iDMC.git] / models / Primer / disbif.lua
blobfe7c26ff537b58a88bb99a860fbd2a24d217e5b8
1 --% ft| BIFURCATION_1 sn| Period-doubling~route~to~chaos n| #0 d| 0.2 n| #1 d| mu n| #2 d| 0.8 n| #3 d| 2.3 n| #4 d| -2 n| #5 d| 3 n| #6 d| 500 n| #7 d| 100 n| #8 d| x
2 --% ft| TRAJECTORY_T1_V0_A1_O0 sn| Convergence~to~a~3-cycle n| #0 d| 0.2 n| #1 d| 2.015 n| #2 d| 0 n| #3 d| 100 n| #4 d| 100 n| #5 d| x
3 --@@
4 name = "disbif"
5 description = "See Model refs in user's guide"
6 type = "D"
7 parameters = {"mu"}
8 variables = {"x"}
11 function f(mu, x)
13 x1 = mu + x - x^2
15 return x1
17 end
19 function Jf(mu, x)
21 return 1 - 2 * x
23 end