fixed traj. plot bug when manual bounds
[iDMC.git] / models / Primer / disa.lua
blobe9ef56ecbfc973fe26c4094cedcc326e4529ab33
1 --% ft| TRAJECTORY_T0_V0_A1_O0 sn| Convergence~to~a~fixed~point n| #0 d| 0.1 n| #1 d| 0.45 n| #2 d| 1 n| #3 d| -0.1 n| #4 d| 0 n| #5 d| 1000 n| #6 d| 1000 n| #7 d| x n| #8 d| y
2 --@@
3 name = "Conc"
4 description = "See Model refs in user's guide."
5 type = "D"
6 parameters = {"a", "b"}
7 variables = {"x", "y"}
9 function f(a, b, x, y)
11 x1= 2 * b * x + 10
12 y1= 2 * a * y^2
14 return x1, y1
16 end
19 function Jf(a, b, x, y)
21 return
23 2 * b, 0,
24 0, 4 * a * y
26 end