Відправити по sms: Variational principles in dynamics and quantum theory