Our computer model details the change in allele frequency of resistant mosquitoes in Africa when the government began spraying DDT. The few mosquitoes that naturally survived the chemical sprays reproduced, and created a large population of resistant mosquitoes. When DDT was sprayed later to prevent the spread of malaria, the DDT was not as effective because of the large amount of DDT-resistant phenotypes in the population.