Question: Create a script to calculate rabbit and fox populations based on test case 4 . Case 4 . Adt a grouse population to the model.
Create a script to calculate rabbit and fox populations based on test case
Case Adt a grouse population to the model.
Note on Case Add grouse population
Assume that the grouse play the same role as the rabbits.
Assume that food supply for both rabbits and grouse is unlimited.
Assume that foxes do not prefer one prey over the other.
: population of grouse
BRG birth rate of grouse
DRG death rate of grouse
EFG, effect of fox upon grouse
EGF, effect of grouse upon fox
Calculate the rabbit population rPop and fox population fPop and grouse population gPop as row vectors.
Plot the rabbit, fox, and grouse populations on a single plot. Include plot formatting axis labels, legend
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.
GRR; Growth rate rabbit
EFR; Effect of fox on rabbit
GRG; Growth rate grouse
EFG; Effect of fox on grouse
GRF; Growth rate fox
ERF; Effect of rabbit on fox
EGF; Effect of grouse on fox
tinit;
tfinal;
delt;
rinit; initial rabbit pop
ginit; initial grouse pop
finit; initial fox pop
Assessment:
Rabbit population is correct
Fox population is correct
Grouse population is correct
Plot is formatted properly
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
