Lagrange Equation from Variational Principle