in this paper at rst, a history of mathematical models is given.next, some basic information about random variables, stochastic processesand markov chains is introduced. as follows, the entropy for a discrete timemarkov process is mentioned. after that, the entropy for sis stochastic modelsis computed, and it is proved that an epidemic will be disappeared after a longtime.