Pošljite SMS: The variational principles of mechanics