Question: in matlab please provide the code to solve this problem please comment thought process The growth in population of a certain colony of individuals is
in matlab please provide the code to solve this problem
please comment thought process

The growth in population of a certain colony of individuals is modeled by the equation P, = P ert where Pt is the population at time t, Po is the population at t- 0, and r is the yearly growth rate. Write a user-defined function that uses this model to predict the population at any time t, from knowing Po and Pu at some other time t1. For function name and arguments use: Pts calculatePop (PO, Pt1, t 1, t) where the output argument Pt corresponds to Pt and the input arguments PO, Pt1, t1,t corresponds to Po, Pti, t1, t, respectively. Use the function for the following two cases: (a) The initial population of a certain species is 50 million and it doubles in 20 years (b) The half-life of a radioactive material is 5.8 years. How much of a 7-gram sample will The output should be displayed with meaningful messages. Calculate the population 10 and 15 years from the initial time. be left after 30 years. The growth in population of a certain colony of individuals is modeled by the equation P, = P ert where Pt is the population at time t, Po is the population at t- 0, and r is the yearly growth rate. Write a user-defined function that uses this model to predict the population at any time t, from knowing Po and Pu at some other time t1. For function name and arguments use: Pts calculatePop (PO, Pt1, t 1, t) where the output argument Pt corresponds to Pt and the input arguments PO, Pt1, t1,t corresponds to Po, Pti, t1, t, respectively. Use the function for the following two cases: (a) The initial population of a certain species is 50 million and it doubles in 20 years (b) The half-life of a radioactive material is 5.8 years. How much of a 7-gram sample will The output should be displayed with meaningful messages. Calculate the population 10 and 15 years from the initial time. be left after 30 years
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
