Entropy from statistical weight =============================== Entropy of a system depends on the statistical weight of the system's state. Statistical weight is the average number of microstates of a system that implement its macro-state. **Notation:** #. :math:`k_\text{B}` (:code:`k_B`) is :attr:`~symplyphysics.quantities.boltzmann_constant`. **Links:** #. `Wikipedia `__. .. py:currentmodule:: symplyphysics.laws.thermodynamics.entropy_from_statistical_weight .. py:data:: entropy :attr:`~symplyphysics.symbols.thermodynamics.entropy` of the system. Symbol: :code:`S` Latex: :math:`S` Dimension: :code:`energy/temperature` .. py:data:: statistical_weight :attr:`~symplyphysics.symbols.thermodynamics.statistical_weight` of the system's state. Symbol: :code:`Omega` Latex: :math:`\Omega` Dimension: :code:`dimensionless` .. py:data:: law :code:`S = k_B * log(Omega)` Latex: .. math:: S = k_\text{B} \log \left( \Omega \right)