Text this: One-dimensional variational problems :