From d92d04a49f2e64eb362b3ac3be5a82771c4bcd7c Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sat, 14 Jan 2017 19:48:00 -0800 Subject: fix examples (mostly latex symbols) --- examples/classic_gravitation/model.modelica | 6 +++--- examples/hodgkin_huxley/model.modelica | 12 ++++++------ examples/hodgkin_huxley/page.md | 0 3 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 examples/hodgkin_huxley/page.md (limited to 'examples') diff --git a/examples/classic_gravitation/model.modelica b/examples/classic_gravitation/model.modelica index 7d5d327..b12bdd9 100644 --- a/examples/classic_gravitation/model.modelica +++ b/examples/classic_gravitation/model.modelica @@ -1,10 +1,10 @@ model ClassicGravitation "Newtonian" parameter Real G=6.674e-11 "Gravitational Constant"; - Real m1(unit="kilogram") "mass #1"; - Real m2(unit="kilogram") "mass #2"; + Real m_1(unit="kilogram") "mass #1"; + Real m_2(unit="kilogram") "mass #2"; Real r(unit="meter") "radius"; Real F "force"; equation - F = (G * m1 * m2) / (r^2); + F = (G * m_1 * m_2) / (r^2); end ClassicGravitation; diff --git a/examples/hodgkin_huxley/model.modelica b/examples/hodgkin_huxley/model.modelica index 532bdac..782cb20 100644 --- a/examples/hodgkin_huxley/model.modelica +++ b/examples/hodgkin_huxley/model.modelica @@ -9,16 +9,16 @@ model HodgkinHuxley parameter Real V_lk =-49.387 "leakage"; Real n; Real alpha_n; - Real Beta_n; + Real beta_n; Real m; Real alpha_m; - Real Beta_m; + Real beta_m; Real h; Real alpha_h; - Real Beta_h; + Real beta_h; equation C * der(V_m) = - G_Na * (Vm - E_Na) - G_K * (V_m - E_K) - G_lk * (V_m - V_lk); - der(n) = - (alpha_n + Beta_n) * n + alpha_n; - der(m) = - (alpha_m + Beta_m) * m + alpha_m; - der(h) = - (alpha_h + Beta_h) * h + alpha_h; + der(n) = - (alpha_n + beta_n) * n + alpha_n; + der(m) = - (alpha_m + beta_m) * m + alpha_m; + der(h) = - (alpha_h + beta_h) * h + alpha_h; end HodgkinHuxley; diff --git a/examples/hodgkin_huxley/page.md b/examples/hodgkin_huxley/page.md new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3