Analysis of chaotic behaviour in the population dynamics