Text this: The variational principles of mechanics/