Nonlinear dynamics : integrability, chaos, and patterns