Semimajor axis of orbit via mass and speed ========================================== Let the body move in an elliptical orbit. Then its semimajor axis depends on the mass of the body around which it rotates and the orbital velocity. **Notation:** #. :math:`G` (:code:`G`) is :attr:`~symplyphysics.quantities.gravitational_constant`. .. TODO: find link TODO: rename file .. py:currentmodule:: symplyphysics.laws.gravity.large_half_axis_of_orbit .. py:data:: semimajor_axis :attr:`~symplyphysics.symbols.classical_mechanics.semimajor_axis` of the orbit. Symbol: :code:`a` Latex: :math:`a` Dimension: :code:`length` .. py:data:: orbital_speed :attr:`~symplyphysics.symbols.classical_mechanics.speed` of the attracted body at which it orbits the attracting body. Symbol: :code:`v` Latex: :math:`v` Dimension: :code:`velocity` .. py:data:: attracting_mass :attr:`~symplyphysics.symbols.basic.mass` of the attracting body. Symbol: :code:`m` Latex: :math:`m` Dimension: :code:`mass` .. py:data:: law :code:`a = G * m / v^2` Latex: .. math:: a = \frac{G m}{v^{2}}