Question: **please code the Midpoint method in MATLAB. thank you 25.21 The logistic model is used to simulate population as in = kgm(1 - p/Pmax)p where


**please code the Midpoint method in MATLAB. thank you
25.21 The logistic model is used to simulate population as in = kgm(1 - p/Pmax)p where p = population, kem = the maximum growth rate under un- limited conditions, and Pmax = the carrying capacity. Simulate the world's population from 1950 to 2000 using one of the numerical methods described in this chapter. Employ the following initial conditions and parameter values for your simulation: po (in 1950) = 2555 million people, kem = 0.026/yr, and Pmax = 12,000 million people. Have the function generate output corresponding to the dates for the following measured population data. Develop a plot of your simulation along with these data. 1 1950 1960 1970 1980 1990 2000 p 2555 3040 3708 4454 5276 6079 1. .. ....... ..... .... . .. Mid point Method (RK 2) Yittle = y; + f(xi, yi) h Yiti = y; + f(xixiz Yixin) h
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
