Email Record: Introduction to the variational formulation in mechanics :