Text this: Nonlinear and Dynamic Programming