Title: Variational Principle for Second-Order Differential Equations