On the geometry of optimal control: the inverted pendulum example | IEEE Conference Publication | IEEE Xplore