The gas-phase reversible reaction takes place in the batch reactor and proceeds to equilibrium:
A + B <--> C + D.
At the reactor temperature and pressure, the equilibrium constant K = 4. If 60 moles of D is wanted, starting with 80 moles A, how B much is required? Determine the composition of the final product? Suppose no C or D are fed to the reactor.