Evolution Equation, Mathematical Control Theory and Calculus of Variations