Work of ideal gas in isothermal process ======================================= The isothermal process of expansion (or compression) of a gas can occur under conditions where heat exchange between the gas and the external environment is carried out at a constant temperature. To do this, the heat capacity of the external environment must be large enough, and the expansion (or compression) process must be slow enough. **Notation:** #. :math:`R` (:code:`R`) is :attr:`~symplyphysics.quantities.molar_gas_constant`. **Conditions:** #. The gas is ideal. See :ref:`Ideal gas equation`. #. The temperature of the gas stays constant during the expansion. **Links:** #. `Wikipedia `__. .. py:currentmodule:: symplyphysics.laws.thermodynamics.work_of_ideal_gas_in_isothermal_process .. py:data:: work :attr:`~symplyphysics.symbols.basic.work` done by the ideal gas during the isothermal process. Symbol: :code:`W` Latex: :math:`W` Dimension: :code:`energy` .. py:data:: amount_of_substance :attr:`~symplyphysics.symbols.chemistry.amount_of_substance` of ideal gas. Symbol: :code:`n` Latex: :math:`n` Dimension: :code:`amount_of_substance` .. py:data:: initial_volume Initial :attr:`~symplyphysics.symbols.classical_mechanics.volume` of the gas. Symbol: :code:`V_0` Latex: :math:`V_{0}` Dimension: :code:`volume` .. py:data:: final_volume Final :attr:`~symplyphysics.symbols.classical_mechanics.volume` of the gas. Symbol: :code:`V_1` Latex: :math:`V_{1}` Dimension: :code:`volume` .. py:data:: temperature :attr:`~symplyphysics.symbols.thermodynamics.temperature` of the gas. Symbol: :code:`T` Latex: :math:`T` Dimension: :code:`temperature` .. py:data:: law :code:`W = n * R * T * log(V_1 / V_0)` Latex: .. math:: W = n R T \log \left( \frac{V_{1}}{V_{0}} \right)