Isochoric and isobaric heat capacities of ideal gas =================================================== The **Mayer's relation** is the relation between heat capacity at constant pressure and that at constant volume in the case of an ideal gas. **Notation:** #. :math:`R` (:code:`R`) is :attr:`~symplyphysics.quantities.molar_gas_constant`. **Conditions:** #. Gas is ideal. **Links:** #. `Wikipedia, first formula `__. .. py:currentmodule:: symplyphysics.laws.thermodynamics.isochoric_and_isobaric_heat_capacity_of_ideal_gas .. py:data:: isobaric_heat_capacity :attr:`~symplyphysics.symbols.thermodynamics.heat_capacity` of gas at constant :attr:`~symplyphysics.symbols.classical_mechanics.pressure`. Symbol: :code:`C_p` Latex: :math:`C_{p}` Dimension: :code:`energy/temperature` .. py:data:: isochoric_heat_capacity :attr:`~symplyphysics.symbols.thermodynamics.heat_capacity` of gas at constant :attr:`~symplyphysics.symbols.classical_mechanics.volume`. Symbol: :code:`C_V` Latex: :math:`C_{V}` Dimension: :code:`energy/temperature` .. py:data:: amount_of_substance :attr:`~symplyphysics.symbols.chemistry.amount_of_substance`. Symbol: :code:`n` Latex: :math:`n` Dimension: :code:`amount_of_substance` .. py:data:: law :code:`C_p - C_V = n * R` Latex: .. math:: C_{p} - C_{V} = n R