mathworld subject calculus of variations