Consider the reaction
$$
2 \mathrm{NH}_{3}=\mathrm{N}_{2}+3 \mathrm{H}_{2}
$$
which occurs in the gas phase. Start initially with \(2 \mathrm{~mol}\) of
\(\mathrm{NH}_{3}\) and 0 mol each of \(\mathrm{H}_{2}\) and \(\mathrm{N}_{2}\).
Assume that the reaction occurs at temperature \(T\) and pressure \(P\).
Use ideal gas equations for the chemical potential. (a) Compute and plot the
Gibbs free energy, \(G(T, P\), (5), as a function of the degree of reaction,
\(\xi\), for (i) \(P=1\) atm and \(T=298 \mathrm{~K}\) and (ii) \(P=1 \mathrm{~atm}\)
and \(T\). \(=894 \mathrm{~K}\). (b) Compute and plot the affinity, \(A(T, P,
\xi)\), as a function of the degree of reaction, \(\xi\), for (i) \(P=1
\mathrm{~atm}\) and \(T=298 \mathrm{~K}\) and (ii) \(P=1\) atm and \(T=894
\mathrm{~K}\). (c) What is the degree of reaction, \(\xi\), at chemical
equilibrium for \(P=1 a t m\) and temperature \(T=894\) K? How many moles of
\(\mathrm{NH}_{3}, \mathrm{H}_{2}\), and \(\mathrm{N}_{2}\) are present at
equilibrium? (d) If initially the volume is \(V_{0}\), what is the volume at
equilibrium for \(P=\) \(1 \mathrm{~atm}\) and \(T=894 \mathrm{~K}\) ? (e) What is
the heat of reaction for \(P=1 \mathrm{~atm}\) and \(T=894 \mathrm{~K}\) ?