dynamics of a thrown rock (minimizes action)  statics of a hung spring (minimizes energy)