In the Grand Canonical Potential (GCP) method, we first calculate the free energy (F) as a function of the number of electrons (n). F(n) includes the librational and vibrational contributions to the zero point energy, entropy, and enthalpy at 298.15 K. F(n) has a quadratic form, which we write as Equation :