Memory, market stability and attractors coexistence in a nonlinear cobweb model