(electro-chemical:nernst-equation)=
# Nernst equation

...

$$\mu_i = \mu_i^\circ - RT \ln a_i \ .$$

**todo**

* derivation:
  * with classical thermodynamics (for mixture of ideal gas, and then correct with the activity for the deviation from this behavior)
  * with statistical mechanics






