Logistic model for soldier production in aphids