Optimal trajectories as N is varied. Optimal trajectories obtained for one trial, for various N. Here N=5 is shown by the dotted curves, N=10 the dot-dashed curves, N=20 the dashed curves and N=40 the solid curves. As N is increased (N∈{5,10,20,40}), the optimal trajectories converge to the same solution. (a) Position of centre of mass. (b) Euler angles.