Hamilton'sche Prinzipalfunktion