Question: Please do this in MATLAB O solutions submitted (max: 3) Population growth under limited conditions can be described using the following differential equation where P
Please do this in MATLAB
O solutions submitted (max: 3) Population growth under limited conditions can be described using the following differential equation where P is population and t is time: P dP dt kgm * Pmax Write a script that uses the code generated in the previous problem to calculate lion populations in the wild from 2020-2120 using the following variables: Your function should have inputs: . dt 1 . Pinit 6000 kgm 0.036 Pmax 7000 Your function should have outputs: tvec Pvec (A row vector of time values) (A row vector of population values) Plot the results with appropriate titles and axis labels O solutions submitted (max: 3) Population growth under limited conditions can be described using the following differential equation where P is population and t is time: P dP dt kgm * Pmax Write a script that uses the code generated in the previous problem to calculate lion populations in the wild from 2020-2120 using the following variables: Your function should have inputs: . dt 1 . Pinit 6000 kgm 0.036 Pmax 7000 Your function should have outputs: tvec Pvec (A row vector of time values) (A row vector of population values) Plot the results with appropriate titles and axis labels
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
