Question: In TODO 2 , you will implement the pop_after_n_years function with the init_pop, yearly_growth and years parameters. The function computes the size of the population

In TODO 2 , you will implement the pop_after_n_years function with the init_pop, yearly_growth and years parameters. The function computes the size of the population after n years, given the initial size of the population and the yearly growth rate. The general formula for a single pond is as follows: For example, a rate of 1.5 means that there would be fish after 1 year if the particular pond was seeded with 10 fish. est.populationafter1year=10(1.51)=15 There would be roughly 576 fish after 10 years. est.populationafter10years>=10(1.510)=576.65
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
