Dynamical systems in optimization and economics Applications to sciences mathematics