Question: Please use python coding and run it The growth of populations of organisms has many engineering and scientific applications. One of the simplest models assumes
Please use python coding and run it
The growth of populations of organisms has many engineering and scientific applications. One of the simplest models assumes that the rate of change of the population p is proportional to the existing population at any time t:
=
-
where t is time in years, and kg is growth rate in [1/years].
The world population has been increasing dramatically, let's make a prediction based upon the following data saved in world_population_1900-2020.csv:
|year| world population | |---|---| |1900|1,578,000,000| |1950|2,526,000,000| |2000|6,127,000,000| |2020|7,795,482,000|
a. Calculate the average population growth, pt, from 1900-1950, 1950-2000, and 2000-2020
b. Determine the average growth rates. kg, from 1900-1950, 1950-2000, and 2000-2020
c. Use a growth rate of =0.013kg=0.013 [1/years] and compare the analytical solution (use initial condition p(1900) = 1578000000) to the Euler integration for time steps of 20 years from 1900 to 2020 (Hint: use method (1)- plot the two solutions together with the given data)
d. Discussion question: If you decrease the time steps further and the solution converges, will it converge to the actual world population? Why or why not?
Note: We have used a new function np.loadtxt here. Use the help or ? to learn about what this function does and how the arguments can change the output. In the next module, we will go into more details on how to load data, plot data, and present trends.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
