Text this: Control óptimo de sistemas dinámicos de Lagrange