Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Python: The growth of populations of organisms has many engineering and scientific applications. One of the simplest models assumes that the rate of change

In Python:

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:

=dpdt=kgp

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions