Question: Create a script to calculate rabbit and fox populations based on test case 3 . Case 3 . Rabbits limited by food supply. Note on

Create a script to calculate rabbit and fox populations based on test case 3.
Case 3. Rabbits limited by food supply.
Note on Case 3. Growth rate of
rabbits with limited food supply
Growth rate of rabbits, grr, vs. number of
rabbits, r
rMax is the regional carrying capacity for
rabbits
Calculate the rabbit population (rPop) and fox population (fPop) as row vectors.
Plot the rabbit and fox populations on a single plot. Include plot formatting (axis labels, legend).
Click the run button to test your code output using the provided script
Click the submit button to have your work assessed.
You have a 4 submission limit.
% Below are the parameters for your script.
% Try adjusting the parameters in MATLAB to see if the model behaves as you would predict. The parameters in MATLAB grader are locked.
rMax=100; % Maximum rabbits environment can support
GRR=0.4; % Growth rate of rabbits
EFR=0.032; % Effect of foxes on rabbits
GRF=-1.0; % Growth rate of foxes
ERF=0.02; % Effect of rabbits on foxes
tinit=0.;
tfinal=60.;
delt=0.05;
rinit=30;
finit=20;
Rabbit population is correct
Fox population is correct
Rabbit and fox population plots are properly formatted
Create a script to calculate rabbit and fox

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!