Nonlinear optimal control for the dynamics of the underactuated slosh-container system. (2nd September 2022)