The smoothsortsorting algorithm is a variation of heapsort developed by Edsger Dijkstra. The advantage of smoothsort is that it works in O(n) time if the input is (almost) sorted. Due to the extra complexity it is rarely used.
... will not simply fall over, but start precessing around. (The precessing motion is perpendicular to the torque trying to make the gyro fall over.)
The axis of th ...