Hello everyone, i'm having troubles figuring this out. The directions say in this book:
If P is the populaiton on the firsty day of the year
B- Birth rate
D- Death Rate
the estimated population at the end of the year is given by the formula:
P + (B*P)/(100) - (D*P)/(100)
that would just be:
P + [(B*P)-(D*P)]/100 right?

The population growth rate is given by the formula:
B-D;

well it says I need 2 functions, growthRate and estimatedPopulation.
The growthRate will calculation the well, growthRate by subtracting B-D;
this will return the growthRate;

and the second function
estimatedPopulation will calculate the estimated population after n years.
It will find the estimated Population from, the growthRate and the currentpopulation and then finaly the number of years that have passed. This confuses me because the function will only take 3 parameters, meaning it can't have the deathRate or the Birthrate. So does anyone know the formula to find the population after n years by just using the GrowthRate, Current Population, and number of years?

I remeber using a population growth formula in calc, it was somting like this:
n(t) = n*e^(rt);
n = orginal pop
r = rate
t = amount of time
this way would work i think, but it wouldn't be fallowing the books directions.