Question: please help!! Note: You must write MATLAB code and then execute your code to produce output that solves this problem. You must show both your
please help!!
Note: You must write MATLAB code and then execute your code to produce output that solves this problem. You must show both your program and your program output in a screenshot(s) to receive full credit for this exercise. Program output may include plots.
EXERCISE 2 (5 pts) "RABBITS IN THE CARIBBEAN" Consider an isolated rabbit population on a tropical Caribbean island. The rabbits have no natural predators and plenty of food to eat. At the beginning of year 1 there are 100 rabbits living on the island; their birth rate is 6% per year with negligible death rate. However, whenever the total rabbit population exceeds 300 during a year, a deadly disease outbreak occurs immediately, and reduces the rabbit population by 80%. That is, this disease strikes when the computed population for the next year will exceed 300. [Hint: When the disease causes 80% death in the population, that means that ONLY 20% remain. So it can be written as P (t+1) -Pft+1)-(1-0.80) It is suggested to NOT 'do the math and write: P(t+1) P(t+1) * (0.20) Or better yet, put the death by_disease factor in as a variable. Problem: How many rabbits are living on this island after 75 years have passed (i.e, at the beginning of year 76)? Provide a plot of the rabbit population as a function of time for the 75-year period. EXERCISE 2 (5 pts) "RABBITS IN THE CARIBBEAN" Consider an isolated rabbit population on a tropical Caribbean island. The rabbits have no natural predators and plenty of food to eat. At the beginning of year 1 there are 100 rabbits living on the island; their birth rate is 6% per year with negligible death rate. However, whenever the total rabbit population exceeds 300 during a year, a deadly disease outbreak occurs immediately, and reduces the rabbit population by 80%. That is, this disease strikes when the computed population for the next year will exceed 300. [Hint: When the disease causes 80% death in the population, that means that ONLY 20% remain. So it can be written as P (t+1) -Pft+1)-(1-0.80) It is suggested to NOT 'do the math and write: P(t+1) P(t+1) * (0.20) Or better yet, put the death by_disease factor in as a variable. Problem: How many rabbits are living on this island after 75 years have passed (i.e, at the beginning of year 76)? Provide a plot of the rabbit population as a function of time for the 75-year period
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
