![]() |
|
The example File TBar.cpp demonstrates the so-called Dzhanibekov effect - instability of rotation around second principal axis. It manifests itself with a series of flips of an object rotating around its intermediate axis - the classical example is a wingnut unscrewed from the rod in the condition of zero gravity(). The simulation in this example reproduces this effect.
The entire code of this problem can be viewed here: TBarCode
(Return to Overview of advanced tutorials)