A logistic model of periodic chemotherapy