Derivation of Hamilton’s equation from a variationally principle

D.T. Greenwood. Classical Dynamics. (Prentice-Hall, Inc. 1965)

Pages 162, 173