Title: Calculus of variation