Deakstadieđáhus: Calculus of variations with applications