[PDF] calculus of variations