Stav dette: Functional analysis, calculus of variations and optimal