Study of a deterministic model in the theory of contagious disease