HOMEWORK 3A - HOMEWORK 3A Due July14,2015,11:59pm 1 Write a...

• Homework Help
• 1

This preview shows page 1. Sign up to view the full content.

HOMEWORK 3A Due: July14,2015,11:59pm 1. Write a MATLAB script that computes the correlation coefficient of populations of lynx and hare in one period. Lastweek,weinvestigatedthebehaviorofthreespeciescompetingforthesamefood. As many of you observed, solving this problem without the use of arrays presented challenges. Since the algorithm needed to overwrite the values of x, y, and z at every time step, any calculations or plotting that required access to past data had to occur within the loop itself. This week, we’ll examine how a similar problem can be solved using arrays. UsingthedatacollectedbytheHudson’sBayCompanyfrom1900to1920,thepopulationso fthelynx (predator) and hare (prey) was modeled using Lotka Volterra equation by Dr. Mahaffy ( - rohan.sdsu.edu/˜jmahaffy/courses/f09/math636/lectures/lotka/quald e2. html) : dx dt = 0.4x −0.018xy, dy dt = −0.8y +0.023xy, (1) where x, y are the populations (thousands) of hare and lynx, and t is time in units of years.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern