Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 yearsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started