Text this: Applied calculus of variations for engineers