Solve four different cubic equations of state.