A two-dimensional magnetohydrodynamic equilibria code is used to demonstrate how the properties of the equilibria depend on the input quantities. This code uses adiabatic quantities as inputs, which are entropy and magnetic flux. With the magnetic flux held constant, it is shown that the length of the separatrix is a smooth function of the total entropy. It is shown that the shape of the separatrix can be changed from elliptical to racetrack by changing the profile of the entropy function. This code can also be used for flux and wall compression since the equilibria are determined by adiabatic quantities. Examples of flux and wall compression are presented. An equilibrium is compared with data from the FRX-C experiment.