aboutsummaryrefslogtreecommitdiffstats
path: root/examples/classic_gravitation
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2017-01-14 19:48:00 -0800
committerbnewbold <bnewbold@robocracy.org>2017-01-14 19:52:56 -0800
commitd92d04a49f2e64eb362b3ac3be5a82771c4bcd7c (patch)
treeba30575640f59f171d734a45cda1efee6175e8a7 /examples/classic_gravitation
parent0306854192ba35861d2365a00f080e1f7710e03b (diff)
downloadmodelthing-d92d04a49f2e64eb362b3ac3be5a82771c4bcd7c.tar.gz
modelthing-d92d04a49f2e64eb362b3ac3be5a82771c4bcd7c.zip
fix examples (mostly latex symbols)
Diffstat (limited to 'examples/classic_gravitation')
-rw-r--r--examples/classic_gravitation/model.modelica6
1 files changed, 3 insertions, 3 deletions
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;