Modeling competitive interaction: analytical and simulation approaches (Original text of diploma project)