Text this: Differential equations, chaos and variational problems