Calculate the standard Gibbs energy