Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need the code for question three 2. Modeling of Predator-prey based Video games Suppose the rabbit and foxes interact within the same environment, and
I need the code for question three
2. Modeling of Predator-prey based Video games Suppose the rabbit and foxes interact within the same environment, and the predators are foxes, the prey are rabbits and the unlimited veg food is available for the rabbits. Let x(t) and y(t) denote the fox and rabbit populations respectively, at time t. This system is governed by the system of differential equations: dtdx=ax+bxydtdy=dycxy Here a= fox population decay constant in absence of rabbits b= fox population growth constant when the rabbits are present, and they interact with rabbits c= rabbit population decay constant when the foxes are present, and they interact with rabbits d= rabbit population growth constant If without rabbits' foxes die at a rate of 8% per month; without foxes rabbit population grows at a rate of 4% per month, and the constant b is 0.0001, constant c is 0.0003 Considering the initial population of 100 foxes and 1000 rabbits solve the above system of equations using Microsoft Excel or MATL.AB/Python or any other software of your choice and plot the fox and rabbit populations with respect to time in the same graph. Also plot the rabbit versus fox trajectory. What happens to the rabbit-foxes trajectory when the value of constant c changes? What happens to the variation within each population as the constant c changes? Modify the above system of differential equations, if it is considered that the shelters were built to protect rabbits from the foxes. Solve the modified system numerically and plot the rabbit and fox populations with respect to time and compare it with the solution of the above model. 3. Modeling of Predator-prey based Video game considering the hunting of both species by a third person In the above rabbit-fox model if the hunting is considered the model is changed to: dtdx=ax+bxyexdtdy=dycxyfy Explain each term in this mathematical model. In addition to all the other parameters same as above (project no. 7), the hunters are allowed to hunt 1% of rabbits and 0.5% of foxes at the end of each month. Considering the initial population of 100 foxes and 1000 rabbits solve the above system of equations using Microsoft Excel or MATLAB/Python or any other software of your choice and plot the fox and rabbit populations with respect to time in the same graph. Also plot the rabbit versus fox trajectory. What happens to the rabbit-foxes trajectory when the value of constant c changes? What happens to the variation within each population as the constant c changes? What effect will this have in long term? Would you say that the rabbit and fox populations are sensitive to this hunting
Step 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