Capacitor impedance from capacitance and frequency
==================================================

The impedance of the capacitor is a purely imaginary reactive impedance which
is inversely proportional to its capacitance. Note that the resistance of the
capacitor is infinite, i.e. it is considered to be an opened connection.

**Links:**

#. `Wikipedia, second formula <https://en.wikipedia.org/wiki/Electrical_impedance#Inductor_and_capacitor>`__.

.. py:currentmodule:: symplyphysics.laws.electricity.circuits.capacitor_impedance_from_capacitance_and_frequency

.. py:data:: impedance

    :attr:`~symplyphysics.symbols.electrodynamics.electrical_impedance` of the capacitor.

Symbol:
    :code:`Z`

Latex:
    :math:`Z`

Dimension:
    :code:`impedance`


.. py:data:: angular_frequency

    :attr:`~symplyphysics.symbols.classical_mechanics.angular_frequency` of the alternating current.

Symbol:
    :code:`w`

Latex:
    :math:`\omega`

Dimension:
    :code:`angle/time`


.. py:data:: capacitance

    :attr:`~symplyphysics.symbols.electrodynamics.capacitance` of the capacitor.

Symbol:
    :code:`C`

Latex:
    :math:`C`

Dimension:
    :code:`capacitance`


.. py:data:: law

    :code:`Z = -I / (w * C)`


    Latex:
        .. math::
            Z = - \frac{i}{\omega C}