If carriers just
infect one person per year,
extending their life
by a few more years
can have profound effects on
total infections. *
(In this small program,
try changing the "lifeSpan" to
15, up from 10 . . .)
--------------------------------------
program
let totalInfections = 100 ! start total carriers
let infectRate = 1 ! spread rate (does anyone
! have real numbers?)
let lifeSpan = 10 ! years lived after diagnosis
for i=1 to lifeSpan
let totalInfections = totalInfections + (totalInfections * infectRate)
print "total carriers after", i, "years:", totalInfections
end for
end program