Text this: Duality Systems in Applied Mechanics and Optimal Control