Helmholtz free energy
The Helmholtz free energy at equilibrium will be: