Class NernstEquation

java.lang.Object
org.episteme.natural.chemistry.electrochemistry.NernstEquation

public class NernstEquation extends Object
Calculations for Electrochemistry using the Nernst Equation.

Based on: W. Nernst, "Die elektromotorische Wirksamkeit der Ionen", Zeitschrift für physikalische Chemie, Vol. 4, pp. 129-181, 1889.

The Nernst equation E = E° - (RT/nF)·ln(Q) relates the reduction potential of a half-cell to the standard electrode potential, temperature, and reaction quotient.

Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Field Details

  • Method Details

    • calculatePotential

      public static Quantity<ElectricPotential> calculatePotential(Quantity<ElectricPotential> standardPotential, Quantity<Temperature> temperature, int electrons, double reactionQuotient)
      Calculates the cell potential under non-standard conditions.
      Parameters:
      standardPotential - E° (Volts)
      temperature - Temperature (Kelvin)
      electrons - Number of electrons transferred (n)
      reactionQuotient - Reaction Quotient (Q)
      Returns:
      Cell Potential (E)
    • calculatePotentialAt25C

      public static Quantity<ElectricPotential> calculatePotentialAt25C(Quantity<ElectricPotential> standardPotential, int electrons, double reactionQuotient)
      Simplified Nernst equation at 25°C (298.15 K). E = E° - (0.0592 / n) * log10(Q)