Anfonwch hwn fel neges destun: Optimal control theory with applications in economics