Dynamical systems and related problems of geometry