ECOR 2606 Study Guide - Midpoint Method
Document Summary
Check your results by suitably adapting the sample code that has been posted. Use function ode45 to create a plot of y(t) for t = 0 to t = 2 seconds. Optional: check your plot and your calculus by finding the analytical solution and plotting this as well. 2/. (from text 20. 4) the following table gives the world population (in millions) for 1950 to. One of the simplest growth models says that dp dt pk g where p is the population (in millions) and t is time (in years). Use first order central differences where this is possible and a first order forward or backward difference otherwise. Estimate kg by applying the formula below at each of the data points and averaging the results. k g. Use the differential equation and the population is 1950 (your initial condition) to predict the world population for 1950 to 2000. Plot your results and the actual data (use markers) on the same graph.