Gravitational force from mass and distance ========================================== In classical mechanics, the **gravitational force** is a fundamental attractive force that exists between any two massive bodies. Its magnitude is proportional to the mass of the bodies and inversely proportional to the distance squared between the bodies. **Notation:** #. :math:`G` (:code:`G`) is :attr:`~symplyphysics.quantities.gravitational_constant`. **Links:** #. `Physics LibreTexts. Newton's Law of Universal Gravitation (13.2.1) `__. .. py:currentmodule:: symplyphysics.laws.gravity.gravity_force_from_mass_and_distance .. py:data:: gravitational_force Gravitational :attr:`~symplyphysics.symbols.classical_mechanics.force`. Symbol: :code:`F` Latex: :math:`F` Dimension: :code:`force` .. py:data:: first_mass :attr:`~symplyphysics.symbols.basic.mass` of the first body. Symbol: :code:`m_1` Latex: :math:`m_{1}` Dimension: :code:`mass` .. py:data:: second_mass :attr:`~symplyphysics.symbols.basic.mass` of the second body. Symbol: :code:`m_2` Latex: :math:`m_{2}` Dimension: :code:`mass` .. py:data:: distance_between_mass_centers :attr:`~symplyphysics.symbols.classical_mechanics.euclidean_distance` between the centers of the bodies.. Symbol: :code:`d` Latex: :math:`d` Dimension: :code:`length` .. py:data:: law :code:`F = G * m_1 * m_2 / d^2` Latex: .. math:: F = \frac{G m_{1} m_{2}}{d^{2}}