You may notice something that doesn't make sense with this model. To set the initial conditions to be exactly the equilibrium, you can enter $E$ in the box for $p_0$. You can explore how the evolution of the population size has very different behavior depending on the relationship between $p_0$ and $E$. (You can change $r$ and $a$ by typing numbers in their boxes.) The equilibrium $p_t=E=a/r$ is plotted by the horizontal cyan line. The change in rabbit population from month $t$ to month $t+1$ is $p_-p_t = rp_t-a$. You let the variable $p_t$ be the number of rabbits in month $t$. Based on this information, you postulate the following model for rabbit population growth. They report back that the rabbit population seems to be increasing by 20% each month. You employ a team of counters to sample the rabbit population each month in various locations across the island. The growth modelĪ critical first step, you realize, is to develop a mathematical model of how the rabbit population is growing. The trick is to develop a rabbit management plan that would ensure such a moderately sized population. You calculate that a population of about a thousand rabbits would allow occasional rabbit sightings while still minimizing the damage to gardens. It turns out many people, especially children, like having at least some rabbits around, so FACT has been asked to find a way to maintain a steady but small population of rabbits on Foxless Island. term solution is to get them to eat all of their pellets or rabbit mix. As head of the Foxless Animal Control Team (FACT), you've been commissioned to develop and implement a plan to control the rabbit population. and even those whose rabbits arent will find it interesting and useful. Unfortunately, without the presence of any predators on the island, the rabbit population is now exploding. It appears that a family bought a couple of baby rabbits for their children, but then let them loose when their children ended up playing too rough with the bunnies. You must use the length attribute of the array in your answer.Controlling rabbit population introduction. In your solution, you must write at least one function that contributes to the solution. Finally, you must print out the array again. Next, replace all the instances of Thymine with Uracil. You must start by filling the array with random characters of G, C, A and T. For this assignment, you will create an array of 255 characters. Ribonucleic acid, or RNA, is different than DNA in that it contains no Thymine thymine is replaced with something called (U)racil. is comprised of four bases: (G)uanine, (C)ytosine, (A)denine and (T)hymine. Sample run Find the Rabbit! LILLLLLLLLL Pick a hole (0-9): 9 LILLLLLLL X| Pick a hole (0-9): 6 IT ILLI XI |X| Pick a hole (0-9): 4 TILL XI XII X Pick a hole (0-9): 3 | | | |R| X X X| You found the rabbit!Īrrays Program 0 (Warm-up, 40 pts): Deoxyribonucleic acid, or DNA. Extra credit (5 pts): if the user guesses the correct hole, show the rabbit with the letter 'R'. Design (pseudocode) and implement (source code) this program. Further, you should actually use the array to solve this problem (i.e. The rabbit is assigned a random hole each time the program. The holes and guesses are visualized on the screen (as shown below), but as the user guesses, you should not show where the rabbit is hidden. You must write and use at least two functions for this question (maybe printing as one?). Program 1(60 pts): Find the Rabbit For this assignment, you will write a program that asks the user to find a rabbit in one of 10 holes (0-9). The rabbit is assigned a random hole each time the program is run. Transcribed image text: Program 1(60 pts): Find the Rabbit! For this assignment, you will write a program that asks the user to find a rabbit in one of 10 holes (0-9).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |