Hamilton%27s principal function

undefined