Differential equations, dynamical systems, and an introduction to chaos