Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the problem of predicting the population of two species that compete for the same food supply. The size of these populations can be
Consider the problem of predicting the population of two species that compete for the same food supply. The size of these populations can be modelled by the following system of two nonlinear differential equations: dy at Here ir represents the population of species 1 (in 1000s), represents the population of species 2 (in 1000s). k6r and 0.5k/(k-1), where r is your random number. In this exercise, we consider the problem of determining equilibrium populations of the two species. For this to occur, we simultaneously let 0 and 0, which results in a system of two nonlinear equations for x and y. The question is: can we have a solution to this system for positive values of both and y? For this problem we can apply the simple Gauss-Jacobi iteration technique of section 3.6.1 of the notes as follows: /(1 - x,/k) - 1 Briefly demonstrate that this iterative scheme doesn't work. That is, it fails to find a meaningful equilibrium population. i. Find a G-J type iteration scheme that does work and iterate it to convergence. Starting with an initial guess of roo5, calculate the first three new iterates (that is, M... ) by hand. Then verify these values and iterate to convergence using MATLAB, showing the commands used and summarising the first few and the last few iterates in a Table. (13 Marks.) (b) In a similar scenario to part (a). the equilibrium populations of two species that compete for the same food supply are given by the following system of two nonlinear equations: 0 Ar-3x-4xy Here in represents the population of species 1 (in 1000s). y represents the population of species 2 (in 1000s). A 33+7r and 17+ 3r. where is your random number i. Using an initial guess of roo5. apply the Steepest Descent method to the above system. Using a fixed value of 0.1, calculate the first iterate (that is. .) by hand, then verify these values and complete the iteration using the MATLAB steep command. Let's call the final values given by MATLAB and Why does MATLAB stop here? (To answer this, calculate the next iterate, (" "), by hand and consider the values of S(".") and S()) ii. Using an initial guess of (", ") and showing all working, apply Newton's method to find an answer correct to four decimal places. (Hint: this should not take many steps!) iii. Returning to the Steepest Descent method and using an initial guess of zo o5 in both cases: calculate (s. 1) using 0.4. Also calculate S(.) and S(M). data: 0.8; calculate (.) using You now have the following -0 -0.4 t-0.8 So.) S.) S.) Using MATLAB, fit a quadratic through these data. Find (by hand) which value of minimises the quadratic and hence give improved values of (r.). Do these improved' values result in a reduced value of S7 (27 Marks.) Word processed presentation (using Word or ETEX) of your answer will count towards the mark for Question 4 only parts (a) and (b).
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