Skip to content

Commit 08daf9b

Browse files
committed
Made references to Newton's law consistent with references to Ohm's law
This closes #128.
1 parent 7bb8d25 commit 08daf9b

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

ModelicaByExample/BasicEquations/CoolingExample/NewtonCooling.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
within ModelicaByExample.BasicEquations.CoolingExample;
2-
model NewtonCooling "An example of Newton's Law of Cooling"
2+
model NewtonCooling "An example of Newton's law of cooling"
33
parameter Real T_inf "Ambient temperature";
44
parameter Real T0 "Initial temperature";
55
parameter Real h "Convective cooling coefficient";
@@ -10,5 +10,5 @@ model NewtonCooling "An example of Newton's Law of Cooling"
1010
initial equation
1111
T = T0 "Specify initial value for T";
1212
equation
13-
m*c_p*der(T) = h*A*(T_inf-T) "Newton's Law of Cooling";
13+
m*c_p*der(T) = h*A*(T_inf-T) "Newton's law of cooling";
1414
end NewtonCooling;

ModelicaByExample/BasicEquations/CoolingExample/NewtonCoolingWithDefaults.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ model NewtonCoolingWithDefaults "Cooling example with default parameter values"
1010
initial equation
1111
T = T0 "Specify initial value for T";
1212
equation
13-
m*c_p*der(T) = h*A*(T_inf-T) "Newton's Law of Cooling";
13+
m*c_p*der(T) = h*A*(T_inf-T) "Newton's law of cooling";
1414
end NewtonCoolingWithDefaults;

ModelicaByExample/BasicEquations/CoolingExample/NewtonCoolingWithTypes.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ model NewtonCoolingWithTypes "Cooling example with physical types"
2020
initial equation
2121
T = T0 "Specify initial value for T";
2222
equation
23-
m*c_p*der(T) = h*A*(T_inf-T) "Newton's Law of Cooling";
23+
m*c_p*der(T) = h*A*(T_inf-T) "Newton's law of Cooling";
2424
end NewtonCoolingWithTypes;

ModelicaByExample/BasicEquations/CoolingExample/NewtonCoolingWithUnits.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ model NewtonCoolingWithUnits "Cooling example with physical units"
1111
initial equation
1212
T = T0 "Specify initial value for T";
1313
equation
14-
m*c_p*der(T) = h*A*(T_inf-T) "Newton's Law of Cooling";
14+
m*c_p*der(T) = h*A*(T_inf-T) "Newton's law of cooling";
1515
end NewtonCoolingWithUnits;

ModelicaByExample/DiscreteBehavior/CoolingRevisited/NewtonCoolingDynamic.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ equation
2424
else
2525
T_inf = 298.15-20*(time-0.5) "Otherwise, increasing";
2626
end if;
27-
m*c_p*der(T) = h*(T_inf-T) "Newton's Law of Cooling";
27+
m*c_p*der(T) = h*(T_inf-T) "Newton's law of cooling";
2828
end NewtonCoolingDynamic;

ModelicaByExample/DiscreteBehavior/CoolingRevisited/NewtonCoolingIfExpression.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ initial equation
1515
der(T) = 0 "Steady state initial conditions";
1616
equation
1717
T_inf = 298.15 - (if time<0.5 then 0 else 20*(time-0.5));
18-
m*c_p*der(T) = h*(T_inf-T) "Newton's Law of Cooling";
18+
m*c_p*der(T) = h*(T_inf-T) "Newton's law of cooling";
1919
end NewtonCoolingIfExpression;

ModelicaByExample/DiscreteBehavior/CoolingRevisited/NewtonCoolingMinFunction.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ initial equation
1515
der(T) = 0 "Steady state initial conditions";
1616
equation
1717
T_inf = 298.15 - max(0, 20*(time-0.5));
18-
m*c_p*der(T) = h*(T_inf-T) "Newton's Law of Cooling";
18+
m*c_p*der(T) = h*(T_inf-T) "Newton's law of cooling";
1919
end NewtonCoolingMinFunction;

ModelicaByExample/DiscreteBehavior/CoolingRevisited/NewtonCoolingSteadyThenDynamic.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ equation
2020
else
2121
T_inf = 298.15-20*(time-0.5) "Otherwise, increasing";
2222
end if;
23-
m*c_p*der(T) = h*(T_inf-T) "Newton's Law of Cooling";
23+
m*c_p*der(T) = h*(T_inf-T) "Newton's law of cooling";
2424
end NewtonCoolingSteadyThenDynamic;

ModelicaByExample/PackageExamples/NewtonCooling.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ model NewtonCooling
2020
initial equation
2121
T = T0 "Specify initial value for T";
2222
equation
23-
m*c_p*der(T) = h*A*(T_inf-T) "Newton's Law of Cooling";
23+
m*c_p*der(T) = h*A*(T_inf-T) "Newton's law of cooling";
2424
end NewtonCooling;

text/source/components/components/block_comps.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ can be expressed by the single equation:
302302

303303
.. code-block:: modelica
304304
305-
m*c_p*der(T) = h*A*(T_inf-T) "Newton's Law of Cooling";
305+
m*c_p*der(T) = h*A*(T_inf-T) "Newton's law of Cooling";
306306
307307
Such an equation can be typed in very quickly. In contrast, the
308308
component based versions would require the user to drag, drop and

0 commit comments

Comments
 (0)