Differential geometry, Lie groups and mechanics. Part V