Skip to content

Commit

Permalink
Fixes (#870)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackyblack authored Jul 22, 2024
1 parent c21bbef commit 2486808
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 8 deletions.
3 changes: 2 additions & 1 deletion symplyphysics/laws/dynamics/acceleration_from_force.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
a = F / m
Latex:
:math:`a = \frac{F}{m}`
.. math::
a = \frac{F}{m}
"""

# Derive the same law from vector form
Expand Down
3 changes: 2 additions & 1 deletion symplyphysics/laws/dynamics/braking_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
l = m * v^2 / (2 * F_fr)
Latex:
:math:`l = \frac{m v^2}{2 F_\text{fr}}`
.. math::
l = \frac{m v^2}{2 F_\text{fr}}
"""

# This law might be derived via "kinetic_energy_from_mass_and_velocity" law and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Forced oscillations equation
============================
*Forced, or driven, oscillations* are a type of oscillations in the precence of an external driving
*Forced, or driven, oscillations* are a type of oscillations in the presence of an external driving
force acting on the oscillating system. In the case of an oscillating external force, two angular
frequencies are associated with such a system: (1) the natural angular frequency of the system,
which is the angular frequency the system would oscillate with if no external force were present,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Friction force from normal force
================================
The *friction* force is tangential interaction between two objects, which impedes there relative movement.
The *friction* force is tangential interaction between two objects, which impedes their relative movement.
It is proportional to the normal force between the two objects.
"""

Expand Down
3 changes: 2 additions & 1 deletion symplyphysics/laws/dynamics/kinetic_energy_via_momentum.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
K = p^2 / (2 * m)
Latex:
:math:`K = \frac{p^2}{2 m}`
.. math::
K = \frac{p^2}{2 m}
"""

# Derive law from kinetic energy and momentum expressions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
Latex:
.. math::
\frac{d K}(p(v))}{d p(v)} = v
\frac{d K(p(v))}{d p(v)} = v
"""

# TODO: derive from the differential definition of work and the generalized Newton's second law
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Potential energy from deformation
=================================
Spring accumulates energy while being deformated. This law is known as the *Hooke's law*.
Spring accumulates energy while being deformed. This law is known as the *Hooke's law*.
**Conditions:**
Expand Down Expand Up @@ -42,7 +42,7 @@
U = k * x^2 / 2
Latex:
.. math:
.. math::
E = \frac{1}{2} k x^2
"""

Expand Down

0 comments on commit 2486808

Please sign in to comment.