From 6efc552358b86430592fc2eef4d92982987f7d6c Mon Sep 17 00:00:00 2001 From: Aleksandr Slatov Date: Thu, 12 Dec 2024 19:05:28 +0400 Subject: [PATCH 1/2] Add links --- ...r_momentum_is_rotational_inertia_times_angular_speed.py | 4 ++++ .../angular_position_is_arc_length_over_radius.py | 6 ++++++ ..._position_via_constant_angular_acceleration_and_time.py | 4 ++++ ...angular_position_via_constant_angular_speed_and_time.py | 5 +++++ ...lar_speed_via_constant_angular_acceleration_and_time.py | 4 ++++ .../average_angular_speed_is_angular_distance_over_time.py | 4 ++++ ...entripetal_acceleration_via_angular_speed_and_radius.py | 4 ++++ ...centripetal_acceleration_via_linear_speed_and_radius.py | 4 ++++ .../laws/kinematics/classical_addition_of_velocities.py | 4 ++++ .../kinematics/displacement_in_simple_harmonic_motion.py | 4 ++++ .../position_via_constant_acceleration_and_time.py | 4 ++++ .../kinematics/position_via_constant_speed_and_time.py | 5 +++++ .../slab_about_perpendicular_axis_through_center.py | 4 ++++ .../geometries/solid_disk_about_central_axis.py | 4 ++++ ...od_about_axis_through_center_perpendicular_to_length.py | 4 ++++ ...tional_inertia_about_axis_and_through_center_of_mass.py | 5 ++++- .../rotational_inertia_cartesian_integral.py | 3 +++ .../rotational_inertia_cylindrical_integral.py | 5 ++++- .../rotational_inertia/rotational_inertia_is_additive.py | 4 ++++ .../rotational_inertia/rotational_inertia_of_particle.py | 4 ++++ .../laws/kinematics/speed_via_angular_speed_and_radius.py | 4 ++++ .../kinematics/speed_via_constant_acceleration_and_time.py | 4 ++++ ...ial_acceleration_via_angular_acceleration_and_radius.py | 4 ++++ .../vector/absolute_velocity_of_arbitrary_motion.py | 7 +++++++ .../vector/acceleration_due_to_non_uniform_rotation.py | 7 +++++++ .../acceleration_is_normal_plus_tangential_acceleration.py | 6 ++++++ .../acceleration_of_transfer_between_relative_frames.py | 7 +++++++ .../vector/center_of_mass_for_system_of_particles.py | 4 ++++ ...entrifugal_acceleration_via_centripetal_acceleration.py | 4 ++++ .../vector/centripetal_acceleration_via_cross_product.py | 4 ++++ .../centripetal_acceleration_via_vector_rejection.py | 4 ++++ .../laws/kinematics/vector/coriolis_acceleration.py | 4 ++++ .../displacement_is_angular_displacement_cross_radius.py | 4 ++++ .../velocity_of_transfer_between_reference_frames.py | 3 +++ .../vector/velocity_relative_to_reference_frame.py | 6 ++++++ 35 files changed, 155 insertions(+), 2 deletions(-) diff --git a/symplyphysics/laws/kinematics/angular_momentum_is_rotational_inertia_times_angular_speed.py b/symplyphysics/laws/kinematics/angular_momentum_is_rotational_inertia_times_angular_speed.py index ce52d550f..d79b7d904 100644 --- a/symplyphysics/laws/kinematics/angular_momentum_is_rotational_inertia_times_angular_speed.py +++ b/symplyphysics/laws/kinematics/angular_momentum_is_rotational_inertia_times_angular_speed.py @@ -10,6 +10,10 @@ #. The body is rigid. #. The axis of rotation is fixed. + +**Links:** + +#. `Wikipedia, vector counterpart of this law `__. """ from sympy import Eq diff --git a/symplyphysics/laws/kinematics/angular_position_is_arc_length_over_radius.py b/symplyphysics/laws/kinematics/angular_position_is_arc_length_over_radius.py index e5b0f951d..f7dfe1c92 100644 --- a/symplyphysics/laws/kinematics/angular_position_is_arc_length_over_radius.py +++ b/symplyphysics/laws/kinematics/angular_position_is_arc_length_over_radius.py @@ -6,6 +6,12 @@ assumed to be fixed in the body, perpendicular to that axis and rotating with the body. The angular position of this is measured relative to a fixed direction and is expressed as a ratio of the arc length of a circular path and its radius (distance to the axis). + +**Links:** + +#. `Wikipedia, similar concept `__. + +#. `openstax, table 6.2, first line `__. """ from sympy import Eq diff --git a/symplyphysics/laws/kinematics/angular_position_via_constant_angular_acceleration_and_time.py b/symplyphysics/laws/kinematics/angular_position_via_constant_angular_acceleration_and_time.py index 7d07559fd..6a048275c 100644 --- a/symplyphysics/laws/kinematics/angular_position_via_constant_angular_acceleration_and_time.py +++ b/symplyphysics/laws/kinematics/angular_position_via_constant_angular_acceleration_and_time.py @@ -6,6 +6,10 @@ #. The axis is fixed. #. Angular acceleration is constant, i.e. :math:`\frac{d \alpha}{d t} = 0.` + +**Links:** + +#. `Wikipedia, second out of the last four equations in the paragraph `__. """ from sympy import Eq, solve, dsolve diff --git a/symplyphysics/laws/kinematics/angular_position_via_constant_angular_speed_and_time.py b/symplyphysics/laws/kinematics/angular_position_via_constant_angular_speed_and_time.py index f0f8cd95b..76f923210 100644 --- a/symplyphysics/laws/kinematics/angular_position_via_constant_angular_speed_and_time.py +++ b/symplyphysics/laws/kinematics/angular_position_via_constant_angular_speed_and_time.py @@ -7,6 +7,11 @@ #. The axis is fixed. #. Angular speed is constant, i.e. :math:`\frac{d \omega}{d t} = 0.` + +**Links:** + +#. `Wikipedia, second out of the last four equations in the paragraph `__, + setting :math:`\alpha = 0`. """ from sympy import Eq, solve, dsolve diff --git a/symplyphysics/laws/kinematics/angular_speed_via_constant_angular_acceleration_and_time.py b/symplyphysics/laws/kinematics/angular_speed_via_constant_angular_acceleration_and_time.py index 3595b64a9..1fea1151d 100644 --- a/symplyphysics/laws/kinematics/angular_speed_via_constant_angular_acceleration_and_time.py +++ b/symplyphysics/laws/kinematics/angular_speed_via_constant_angular_acceleration_and_time.py @@ -9,6 +9,10 @@ #. The axis is fixed. #. Angular acceleration is constant, i.e. :math:`\frac{d \alpha}{d t} = 0.` + +**Links:** + +#. `Wikipedia, first out of the last four equations in the paragraph `__. """ from sympy import Eq, dsolve, solve diff --git a/symplyphysics/laws/kinematics/average_angular_speed_is_angular_distance_over_time.py b/symplyphysics/laws/kinematics/average_angular_speed_is_angular_distance_over_time.py index a413c0979..e9ffc0c58 100644 --- a/symplyphysics/laws/kinematics/average_angular_speed_is_angular_distance_over_time.py +++ b/symplyphysics/laws/kinematics/average_angular_speed_is_angular_distance_over_time.py @@ -4,6 +4,10 @@ *Angular speed*, or *angular frequency*, is a scalar physical quantity measuring the rate of change in angle of rotation over time. + +**Links:** + +#. `BYJY's `__. """ from sympy import (Eq, solve) diff --git a/symplyphysics/laws/kinematics/centripetal_acceleration_via_angular_speed_and_radius.py b/symplyphysics/laws/kinematics/centripetal_acceleration_via_angular_speed_and_radius.py index 1c8c77d1f..3aff0ca25 100644 --- a/symplyphysics/laws/kinematics/centripetal_acceleration_via_angular_speed_and_radius.py +++ b/symplyphysics/laws/kinematics/centripetal_acceleration_via_angular_speed_and_radius.py @@ -3,6 +3,10 @@ ===================================================== *Centripetal acceleration* is defined as the change in velocity tangential to the velocity vector. + +**Links:** + +#. `Physics LibreTexts, second part of equation 6.2.5 `__. """ from sympy import Eq, solve diff --git a/symplyphysics/laws/kinematics/centripetal_acceleration_via_linear_speed_and_radius.py b/symplyphysics/laws/kinematics/centripetal_acceleration_via_linear_speed_and_radius.py index 1476e16c7..c8a13d7d0 100644 --- a/symplyphysics/laws/kinematics/centripetal_acceleration_via_linear_speed_and_radius.py +++ b/symplyphysics/laws/kinematics/centripetal_acceleration_via_linear_speed_and_radius.py @@ -3,6 +3,10 @@ ==================================================== *Centripetal acceleration* is defined as the change in velocity tangential to the velocity vector. + +**Links:** + +#. `Physics LibreTexts, first part of equation 6.2.5 `__. """ from sympy import Eq, solve, sin, cos, Derivative, pi diff --git a/symplyphysics/laws/kinematics/classical_addition_of_velocities.py b/symplyphysics/laws/kinematics/classical_addition_of_velocities.py index 0cc407105..5d1797d17 100644 --- a/symplyphysics/laws/kinematics/classical_addition_of_velocities.py +++ b/symplyphysics/laws/kinematics/classical_addition_of_velocities.py @@ -12,6 +12,10 @@ #. Velocity vectors must be collinear. #. Space and time are absolute. #. Applicable to inertial reference frames. + +**Links:** + +#. `Wikipedia, vector counterpart of this law `__. """ from sympy import Eq diff --git a/symplyphysics/laws/kinematics/displacement_in_simple_harmonic_motion.py b/symplyphysics/laws/kinematics/displacement_in_simple_harmonic_motion.py index dbae4acbb..7623f2758 100644 --- a/symplyphysics/laws/kinematics/displacement_in_simple_harmonic_motion.py +++ b/symplyphysics/laws/kinematics/displacement_in_simple_harmonic_motion.py @@ -10,6 +10,10 @@ #. This law is also applicable for any physical quantity that changes its value in a repeating harmonic manner, therefore :symbols:`any_quantity` is used. + +**Links:** + +#. `Wikipedia `__. """ from sympy import Eq, cos, dsolve diff --git a/symplyphysics/laws/kinematics/position_via_constant_acceleration_and_time.py b/symplyphysics/laws/kinematics/position_via_constant_acceleration_and_time.py index 8e3f241ef..6fde53515 100644 --- a/symplyphysics/laws/kinematics/position_via_constant_acceleration_and_time.py +++ b/symplyphysics/laws/kinematics/position_via_constant_acceleration_and_time.py @@ -7,6 +7,10 @@ **Conditions:** #. Acceleration is constant, i.e. :math:`\frac{d a}{d t} = 0.` + +**Links:** + +#. `Wikipedia, vector counterpart of this law `__. """ from sympy import Eq, solve, dsolve diff --git a/symplyphysics/laws/kinematics/position_via_constant_speed_and_time.py b/symplyphysics/laws/kinematics/position_via_constant_speed_and_time.py index 7d4559590..c8c5a1354 100644 --- a/symplyphysics/laws/kinematics/position_via_constant_speed_and_time.py +++ b/symplyphysics/laws/kinematics/position_via_constant_speed_and_time.py @@ -8,6 +8,11 @@ **Conditions:** #. Speed is constant, i.e. :math:`\frac{d v}{d t} = 0.` + +**Links:** + +#. `Wikipedia, derivable from the vector counterpart of this law `__, + setting :math:`a = 0`. """ from sympy import (Eq, solve, dsolve) diff --git a/symplyphysics/laws/kinematics/rotational_inertia/geometries/slab_about_perpendicular_axis_through_center.py b/symplyphysics/laws/kinematics/rotational_inertia/geometries/slab_about_perpendicular_axis_through_center.py index 16d5f9a81..a63b1421f 100644 --- a/symplyphysics/laws/kinematics/rotational_inertia/geometries/slab_about_perpendicular_axis_through_center.py +++ b/symplyphysics/laws/kinematics/rotational_inertia/geometries/slab_about_perpendicular_axis_through_center.py @@ -7,6 +7,10 @@ **Conditions:** #. The slab is uniform. + +**Links:** + +#. `Wikipedia, see table `__. """ from sympy import Eq, sqrt diff --git a/symplyphysics/laws/kinematics/rotational_inertia/geometries/solid_disk_about_central_axis.py b/symplyphysics/laws/kinematics/rotational_inertia/geometries/solid_disk_about_central_axis.py index dd01995d9..55a6b8dcc 100644 --- a/symplyphysics/laws/kinematics/rotational_inertia/geometries/solid_disk_about_central_axis.py +++ b/symplyphysics/laws/kinematics/rotational_inertia/geometries/solid_disk_about_central_axis.py @@ -7,6 +7,10 @@ **Conditions:** #. The disk is uniform. + +**Links:** + +#. `Wikipedia, sixth row of table `__. """ from sympy import Eq, pi diff --git a/symplyphysics/laws/kinematics/rotational_inertia/geometries/thin_rod_about_axis_through_center_perpendicular_to_length.py b/symplyphysics/laws/kinematics/rotational_inertia/geometries/thin_rod_about_axis_through_center_perpendicular_to_length.py index b9f506bfd..3f3624e4a 100644 --- a/symplyphysics/laws/kinematics/rotational_inertia/geometries/thin_rod_about_axis_through_center_perpendicular_to_length.py +++ b/symplyphysics/laws/kinematics/rotational_inertia/geometries/thin_rod_about_axis_through_center_perpendicular_to_length.py @@ -8,6 +8,10 @@ #. The rod is uniform. #. The rod is thin, i.e. its diameter is much less than its length. + +**Links:** + +#. `Wikipedia, third row of table `__. """ from sympy import Eq diff --git a/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_about_axis_and_through_center_of_mass.py b/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_about_axis_and_through_center_of_mass.py index e52e0241f..3dde12ae9 100644 --- a/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_about_axis_and_through_center_of_mass.py +++ b/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_about_axis_and_through_center_of_mass.py @@ -6,11 +6,14 @@ that of the same body about a parallel axis that extends through the body's center of mass of mass). - **Conditions:** #. The two axes must be parallel to each other. #. The axis used in the calculation of :math:`I_\text{com}` must pass through the body's center of mass. + +**Links:** + +#. `Wikipedia `__. """ from sympy import Eq diff --git a/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_cartesian_integral.py b/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_cartesian_integral.py index bb9af03f5..5daf93bea 100644 --- a/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_cartesian_integral.py +++ b/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_cartesian_integral.py @@ -23,6 +23,9 @@ # Note: ## - The integration is carried out over the entire body as to include every volume element. +# Links: +## Wikipedia, derivable from fourth equation + rotational_inertia = Symbol("rotational_inertia", units.mass * units.length**2) density = Function("density", units.mass / units.length**3) distance_to_axis = Function("distance_to_axis", units.length) diff --git a/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_cylindrical_integral.py b/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_cylindrical_integral.py index 9c4b5bd80..279343754 100644 --- a/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_cylindrical_integral.py +++ b/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_cylindrical_integral.py @@ -22,7 +22,10 @@ # Notes: ## - The integration is carried out over the entire body as to include every volume element. -## - THe z-axis is the rotational axis of the body +## - The z-axis is the rotational axis of the body + +# Links: +## Wikipedia, derivable from fourth equation rotational_inertia = Symbol("rotational_inertia", units.mass * units.length**2) density = Function("density", units.mass / units.length**3) diff --git a/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_is_additive.py b/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_is_additive.py index 2b322cb82..7a19376ae 100644 --- a/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_is_additive.py +++ b/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_is_additive.py @@ -8,6 +8,10 @@ **Conditions:** #. The rotational inertia is calculated for the same axis for all parts of the system. + +**Links:** + +#. `Wikipedia, see second paragraph `__. """ from typing import Sequence diff --git a/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_of_particle.py b/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_of_particle.py index cce0e6991..a43756890 100644 --- a/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_of_particle.py +++ b/symplyphysics/laws/kinematics/rotational_inertia/rotational_inertia_of_particle.py @@ -4,6 +4,10 @@ Rotational inertia of a rotating particle is defined as the product of its mass and the squared radius of rotation. + +**Links:** + +#. `Wikipedia, third equation `__. """ from sympy import Eq diff --git a/symplyphysics/laws/kinematics/speed_via_angular_speed_and_radius.py b/symplyphysics/laws/kinematics/speed_via_angular_speed_and_radius.py index 1fe508717..4a1b66687 100644 --- a/symplyphysics/laws/kinematics/speed_via_angular_speed_and_radius.py +++ b/symplyphysics/laws/kinematics/speed_via_angular_speed_and_radius.py @@ -4,6 +4,10 @@ Speed of a rotating body can be calculated using its angular speed and instantaneous radius of curvature of the body's path. + +**Links:** + +#. `Physics LibreTexts, first part of formula 6.1.9 `__. """ from sympy import Eq, solve diff --git a/symplyphysics/laws/kinematics/speed_via_constant_acceleration_and_time.py b/symplyphysics/laws/kinematics/speed_via_constant_acceleration_and_time.py index 3cda1dc34..4ecb47d27 100644 --- a/symplyphysics/laws/kinematics/speed_via_constant_acceleration_and_time.py +++ b/symplyphysics/laws/kinematics/speed_via_constant_acceleration_and_time.py @@ -8,6 +8,10 @@ **Conditions:** #. Acceleration is constant, i.e. :math:`\frac{d a}{d t} = 0.` + +**Links:** + +#. `Wikipedia, vector counterpart of this law `__. """ from sympy import (Eq, solve) diff --git a/symplyphysics/laws/kinematics/tangential_acceleration_via_angular_acceleration_and_radius.py b/symplyphysics/laws/kinematics/tangential_acceleration_via_angular_acceleration_and_radius.py index 2c9725bca..d2c869b97 100644 --- a/symplyphysics/laws/kinematics/tangential_acceleration_via_angular_acceleration_and_radius.py +++ b/symplyphysics/laws/kinematics/tangential_acceleration_via_angular_acceleration_and_radius.py @@ -8,6 +8,10 @@ **Conditions:** #. Radius is constant, i.e. :math:`\frac{d r}{d t} = 0.` + +**Links:** + +#. Equation 10-22 on p. 269 of "Fundamentals of Physics" by David Halladay et al., 10th Ed. """ from sympy import Eq, solve, Derivative diff --git a/symplyphysics/laws/kinematics/vector/absolute_velocity_of_arbitrary_motion.py b/symplyphysics/laws/kinematics/vector/absolute_velocity_of_arbitrary_motion.py index 00f06977b..a80c6a259 100644 --- a/symplyphysics/laws/kinematics/vector/absolute_velocity_of_arbitrary_motion.py +++ b/symplyphysics/laws/kinematics/vector/absolute_velocity_of_arbitrary_motion.py @@ -10,6 +10,13 @@ **Notes:** #. Moving frame :math:`S'` can perform both translational and rotational motion. + +**Links:** + +#. `Wikipedia `__. + +.. + TODO: find English link """ from symplyphysics import ( diff --git a/symplyphysics/laws/kinematics/vector/acceleration_due_to_non_uniform_rotation.py b/symplyphysics/laws/kinematics/vector/acceleration_due_to_non_uniform_rotation.py index b83db5fed..8a1277b82 100644 --- a/symplyphysics/laws/kinematics/vector/acceleration_due_to_non_uniform_rotation.py +++ b/symplyphysics/laws/kinematics/vector/acceleration_due_to_non_uniform_rotation.py @@ -9,6 +9,13 @@ **Notation:** #. :math:`\vec a \times \vec b` (:code:`cross(a, b)`) is vector product of :math:`\vec a` and :math:`\vec b`. + +**Links:** + +#. `Wikipedia `__. + +.. + TODO find English link """ from sympy import Expr, abc diff --git a/symplyphysics/laws/kinematics/vector/acceleration_is_normal_plus_tangential_acceleration.py b/symplyphysics/laws/kinematics/vector/acceleration_is_normal_plus_tangential_acceleration.py index d6b561810..5ba8f2530 100644 --- a/symplyphysics/laws/kinematics/vector/acceleration_is_normal_plus_tangential_acceleration.py +++ b/symplyphysics/laws/kinematics/vector/acceleration_is_normal_plus_tangential_acceleration.py @@ -8,6 +8,12 @@ and points to the instantaneous axis of rotation, #. and *tangential acceleration*, which is responsible for the change in the magnitude of the velocity vector. + +**Links:** + +#. `Wikipedia `__. + +#. `Mathematica LibreTexts `__. """ from pytest import approx diff --git a/symplyphysics/laws/kinematics/vector/acceleration_of_transfer_between_relative_frames.py b/symplyphysics/laws/kinematics/vector/acceleration_of_transfer_between_relative_frames.py index c9129a3e3..967bb913c 100644 --- a/symplyphysics/laws/kinematics/vector/acceleration_of_transfer_between_relative_frames.py +++ b/symplyphysics/laws/kinematics/vector/acceleration_of_transfer_between_relative_frames.py @@ -9,6 +9,13 @@ rotation of the moving frame. The transfer acceleration only depends on the motion of frame :math:`S'` relative to stationary frame :math:`S`, so its physical meaning would be that it is the acceleration in :math:`S` of a point stationary in :math:`S'`. + +**Links:** + +#. `Wikipedia `__. + +.. + TODO find English link """ from symplyphysics import ( diff --git a/symplyphysics/laws/kinematics/vector/center_of_mass_for_system_of_particles.py b/symplyphysics/laws/kinematics/vector/center_of_mass_for_system_of_particles.py index cac29f3d8..70f9c1836 100644 --- a/symplyphysics/laws/kinematics/vector/center_of_mass_for_system_of_particles.py +++ b/symplyphysics/laws/kinematics/vector/center_of_mass_for_system_of_particles.py @@ -4,6 +4,10 @@ The center of mass (com) of a system of particles is a unique point at any given time where the sum of weighted relative positions of the distributed mass is zero. + +**Links:** + +#. `Wikipedia, second formula `__. """ from typing import Sequence diff --git a/symplyphysics/laws/kinematics/vector/centrifugal_acceleration_via_centripetal_acceleration.py b/symplyphysics/laws/kinematics/vector/centrifugal_acceleration_via_centripetal_acceleration.py index 1e5b3b285..e9aae68b8 100644 --- a/symplyphysics/laws/kinematics/vector/centrifugal_acceleration_via_centripetal_acceleration.py +++ b/symplyphysics/laws/kinematics/vector/centrifugal_acceleration_via_centripetal_acceleration.py @@ -4,6 +4,10 @@ The vector of *centrifugal acceleration* has the same magnitude as the vector of *centripetal acceleration* but is directed oppositely to it. + +**Links:** + +#. `BUJY's `__. """ from symplyphysics import ( diff --git a/symplyphysics/laws/kinematics/vector/centripetal_acceleration_via_cross_product.py b/symplyphysics/laws/kinematics/vector/centripetal_acceleration_via_cross_product.py index ee630ad0f..ada349b7a 100644 --- a/symplyphysics/laws/kinematics/vector/centripetal_acceleration_via_cross_product.py +++ b/symplyphysics/laws/kinematics/vector/centripetal_acceleration_via_cross_product.py @@ -10,6 +10,10 @@ **Notation:** #. :math:`\vec a \times \vec b` (:code:`cross(a, b)`) is the cross product between :math:`\vec a` and :math:`\vec b`. + +**Links:** + +#. `Wikipedia `__. """ from sympy import symbols diff --git a/symplyphysics/laws/kinematics/vector/centripetal_acceleration_via_vector_rejection.py b/symplyphysics/laws/kinematics/vector/centripetal_acceleration_via_vector_rejection.py index 06b052c1b..0566fdc5c 100644 --- a/symplyphysics/laws/kinematics/vector/centripetal_acceleration_via_vector_rejection.py +++ b/symplyphysics/laws/kinematics/vector/centripetal_acceleration_via_vector_rejection.py @@ -13,6 +13,10 @@ #. :math:`\text{oproj}_{\vec b} \vec a` (:code:`reject(a, b)`) is the rejection of :math:`\vec a` from :math:`\vec b`, i.e. the component of :math:`\vec a` orthogonal to :math:`\vec b`. + +**Links:** + +#. `Wikipedia `__. """ from symplyphysics import ( diff --git a/symplyphysics/laws/kinematics/vector/coriolis_acceleration.py b/symplyphysics/laws/kinematics/vector/coriolis_acceleration.py index 4696f50ae..12501aa5e 100644 --- a/symplyphysics/laws/kinematics/vector/coriolis_acceleration.py +++ b/symplyphysics/laws/kinematics/vector/coriolis_acceleration.py @@ -10,6 +10,10 @@ Suppose a reference frame :math:`S'` is fixed to a rotating body :math:`A` (e.g. Earth), so that frame :math:`S'` rotates w.r.t. another static reference frame :math:`S`. The Coriolis acceleration is the acceleration another body :math:`B` has when moving within rotating reference frame :math:`S'`, so it is essentially zero for objects at rest in :math:`S'`. + +**Links:** + +#. `Wikipedia `__. """ from symplyphysics import ( diff --git a/symplyphysics/laws/kinematics/vector/displacement_is_angular_displacement_cross_radius.py b/symplyphysics/laws/kinematics/vector/displacement_is_angular_displacement_cross_radius.py index d956989bd..278b4099a 100644 --- a/symplyphysics/laws/kinematics/vector/displacement_is_angular_displacement_cross_radius.py +++ b/symplyphysics/laws/kinematics/vector/displacement_is_angular_displacement_cross_radius.py @@ -9,6 +9,10 @@ #. The axis is fixed. #. Angular displacement pseudovector and radius vector must be orthogonal to one another. + +**Links:** + +#. `Physics LibreTexts, formula 11.1.4 `__. """ from pytest import approx diff --git a/symplyphysics/laws/kinematics/vector/velocity_of_transfer_between_reference_frames.py b/symplyphysics/laws/kinematics/vector/velocity_of_transfer_between_reference_frames.py index 977d8853a..8f35ea494 100644 --- a/symplyphysics/laws/kinematics/vector/velocity_of_transfer_between_reference_frames.py +++ b/symplyphysics/laws/kinematics/vector/velocity_of_transfer_between_reference_frames.py @@ -24,6 +24,9 @@ ## w - pseudovector of angular velocity related to rotation of moving frame S' about instantaneous axis ## r - vector of position of point X relative to moving frame S' +# Links: Wikipedia, first formula +# TODO: find English link + def transfer_velocity_law( moving_frame_velocity_: Vector, diff --git a/symplyphysics/laws/kinematics/vector/velocity_relative_to_reference_frame.py b/symplyphysics/laws/kinematics/vector/velocity_relative_to_reference_frame.py index 8a3da8751..22e9634af 100644 --- a/symplyphysics/laws/kinematics/vector/velocity_relative_to_reference_frame.py +++ b/symplyphysics/laws/kinematics/vector/velocity_relative_to_reference_frame.py @@ -4,6 +4,12 @@ For any reference frame, whether it is inertial or not, the motion relative to it can be described using the position vector relative to that frame's origin. + +**Links:** + +#. `Wikipedia `__. + +#. `Wikipedia (ru) `__. """ from sympy import Expr, symbols From bcee0e0b640fb162a8adfe77efa1e486052524ff Mon Sep 17 00:00:00 2001 From: Aleksandr Slatov Date: Sat, 14 Dec 2024 02:18:43 +0400 Subject: [PATCH 2/2] Fix links --- .../angular_position_via_constant_angular_speed_and_time.py | 3 +-- .../average_angular_speed_is_angular_distance_over_time.py | 2 +- .../laws/kinematics/position_via_constant_speed_and_time.py | 3 +-- .../centrifugal_acceleration_via_centripetal_acceleration.py | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/symplyphysics/laws/kinematics/angular_position_via_constant_angular_speed_and_time.py b/symplyphysics/laws/kinematics/angular_position_via_constant_angular_speed_and_time.py index 76f923210..660c4ee97 100644 --- a/symplyphysics/laws/kinematics/angular_position_via_constant_angular_speed_and_time.py +++ b/symplyphysics/laws/kinematics/angular_position_via_constant_angular_speed_and_time.py @@ -10,8 +10,7 @@ **Links:** -#. `Wikipedia, second out of the last four equations in the paragraph `__, - setting :math:`\alpha = 0`. +#. `Wikipedia, second out of the last four equations in the paragraph `__. """ from sympy import Eq, solve, dsolve diff --git a/symplyphysics/laws/kinematics/average_angular_speed_is_angular_distance_over_time.py b/symplyphysics/laws/kinematics/average_angular_speed_is_angular_distance_over_time.py index e9ffc0c58..495a3a873 100644 --- a/symplyphysics/laws/kinematics/average_angular_speed_is_angular_distance_over_time.py +++ b/symplyphysics/laws/kinematics/average_angular_speed_is_angular_distance_over_time.py @@ -7,7 +7,7 @@ **Links:** -#. `BYJY's `__. +#. `BYJU's `__. """ from sympy import (Eq, solve) diff --git a/symplyphysics/laws/kinematics/position_via_constant_speed_and_time.py b/symplyphysics/laws/kinematics/position_via_constant_speed_and_time.py index c8c5a1354..654b8af6e 100644 --- a/symplyphysics/laws/kinematics/position_via_constant_speed_and_time.py +++ b/symplyphysics/laws/kinematics/position_via_constant_speed_and_time.py @@ -11,8 +11,7 @@ **Links:** -#. `Wikipedia, derivable from the vector counterpart of this law `__, - setting :math:`a = 0`. +#. `Wikipedia, derivable from the vector counterpart of this law `__. """ from sympy import (Eq, solve, dsolve) diff --git a/symplyphysics/laws/kinematics/vector/centrifugal_acceleration_via_centripetal_acceleration.py b/symplyphysics/laws/kinematics/vector/centrifugal_acceleration_via_centripetal_acceleration.py index e9aae68b8..972117a00 100644 --- a/symplyphysics/laws/kinematics/vector/centrifugal_acceleration_via_centripetal_acceleration.py +++ b/symplyphysics/laws/kinematics/vector/centrifugal_acceleration_via_centripetal_acceleration.py @@ -7,7 +7,7 @@ **Links:** -#. `BUJY's `__. +#. `BYJU's `__. """ from symplyphysics import (