aboutsummaryrefslogtreecommitdiffstats
path: root/notes/lotka_volterra.toml
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-06-14 22:13:19 -0400
committerbnewbold <bnewbold@robocracy.org>2016-06-14 22:13:19 -0400
commit9708c72896778dc542a519e345b69c17737a9d05 (patch)
treeaf3ea75557bbd644a8eff98a94847adf51d7bbfb /notes/lotka_volterra.toml
parent8181ca318ecd1fd66706ad30920dc24ccb879f26 (diff)
downloadmodelthing-9708c72896778dc542a519e345b69c17737a9d05.tar.gz
modelthing-9708c72896778dc542a519e345b69c17737a9d05.zip
import notes from recurse folder
Diffstat (limited to 'notes/lotka_volterra.toml')
-rw-r--r--notes/lotka_volterra.toml63
1 files changed, 63 insertions, 0 deletions
diff --git a/notes/lotka_volterra.toml b/notes/lotka_volterra.toml
new file mode 100644
index 0000000..7d2cf0d
--- /dev/null
+++ b/notes/lotka_volterra.toml
@@ -0,0 +1,63 @@
+
+[model]
+name-en = "Lotka–Volterra equations"
+descrption-en = "Predator-Prey Model"
+sexprs = ['''
+ (=
+ (partial-derivative x t)
+ (- (* alpha x)
+ (* beta x y)))
+ ''','''
+ (=
+ (partial-derivative y t)
+ (- (* delta x y)
+ (* gamma y)))
+ ''']
+
+[variables]
+
+ [variables.t]
+ type = 'time' # or "independent"?
+
+ [variables.x]
+ type = 'state'
+
+ [variables.y]
+ type = 'state'
+
+ [variables.alpha]
+ type = 'parameter'
+ latex = '\alpha'
+ unicode = 'α'
+
+ [variables.beta]
+ type = 'parameter'
+ latex = '\beta'
+ unicode = 'β'
+
+ [variables.delta]
+ type = 'parameter'
+ latex = '\delta'
+ unicode = 'δ'
+
+ [variables.gamma]
+ type = 'parameter'
+ latex = '\gamma'
+ unicode = 'γ'
+
+[examples]
+
+ [examples.mathworld]
+ x = 10
+ y = 5
+ alpha = 1.5
+ beta = 1
+ gamma = 1
+ t = [0, 20]
+
+[references]
+
+ [references.url]
+ "Mathworld" = "http://mathworld.wolfram.com/Lotka-VolterraEquations.html"
+ "Wikipedia" = "https://en.wikipedia.org/wiki/Lotka%E2%80%93Volterra_equations"
+