blob: 7d5d327f0705729d336bd2513eae44117392e466 (
plain)
1
2
3
4
5
6
7
8
9
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 r(unit="meter") "radius";
Real F "force";
equation
F = (G * m1 * m2) / (r^2);
end ClassicGravitation;
|