Consider the predator-prey models

Assignment Help MATLAB Programming
Reference no: EM13163611

The concepts covered in section13.6.3 for higher order differential equations can also be employed to solve system of related equations.   Consider the predator-prey models developed early part of the 20th century in which the number of predators and preys may be predicted using the pair of ODEs


                    dnprey/dt = anprey - bnpreynpredator  

                    dnpredator/dt = -cnpredator + dnpreynpredator

where n stands for number, a is the prey growth rate, c is the predator death rate, and b and d are coefficients representing the effects of prey-predator interactions. Given a = 1.2, b = 0.6, c = 0.8, and d = 0.3, create a function similar to "twofuns" on page 526. Then use ODE45 to solve for time span of 0 to 30 given the initial number of prey is 2 and the initial number of predators is 1. You should produce a plot showing the number of prey and predators as a function of time.

 

Reference no: EM13163611

Questions Cloud

Consider a 2-dimensional mesh : Consider a 2-dimensional mesh with n^2 nodes. The shortest distance that a message travels in the mesh is 1 link; the longest distance is 2(n-1) link
Convert meters to feet and inches. : 1. Write a program that can be used to convert meters to feet and inches. Allow the user to enter a metric meter value in a method .
Consider a queue data structure : Consider a queue data structure, where the two operations of interest are enqueue (at the back of the queue) and dequeue (from the front of the queue). A queue is thus a FIFO (first in-first out) structure. Suppose we implement a queue by using tw..
Find all irreducible polynomials : Find all irreducible polynomials
Consider the predator-prey models : Consider the predator-prey models developed early part of the 20 th  century in which the number of predators and preys may be predicted using the pair of ODEs
Create a crow''s foot erd using a specialization hierarchy : Given the following business scenario, create a Crow's Foot ERD using a specialization hierarchy if appropriate. Tiny Hospital keeps information on patients and hospital rooms
Define a certain reaction has an activation energy : A certain reaction has an activation energy of 60.0 kj/mol and a frequency factor of A= 3.10×1012 M^-1s^-1 . What is the rate constant k , of this reaction at 30.0 Deg celsius?
What is the ph and a chemist titrates : A chemist titrates 20.00 mL of 0.2000 M HBrO ( Ka= 2.3 x 10^-9) with .1000 M NaOH. What is the pH? A) Before any base is added? B) When [HBrO] = [ BrO-] C) at the equivalence point
Explain what is the oxidation state of copper : The minerals chalcocite (Cu2S) and malachite (Cu2CO3(OH)2) are two primary sources of copper. What is the oxidation state of copper in each of these minerals?

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Matlab program to compute how much money will accumulate

Write a MATLAB program to compute how much money will accumulate in 5 years in the account and in any CDs you buy. Run the program for two different savings interest rates: 4 percent and 5 percent.

  Compute the power spectral density vector

Compute the power spectral density vector. Plot the spectrogram using the same parameters as in lecture.

  First ten numbers of the sequence of pseudorandom numbers

write a program that gives the first ten numbers of the sequence of pseudorandom numbers

  Determine the optimal linear predictor

Determine the optimal linear predictor for a given order N and DPCM simulation and write a graphical user interface that has least the following functions

  Impact of zigbee on telecommunication systems

Report on Impact of zigbee on telecommunication systems

  Create a matrix of 5x6

Prepare a matrix of 5x6. with identical columns and rows ranging from 200 to 1000 in equal increments

  Stepper motor driven xy table

Stepper Motor Driven XY Table - Use Matlab and Labjack to acquire digital inputs from limit switches and use Matlab to analyze acquired data

  Finds the largest integer in the list recursively

Write a program that, given a list of 20 integers, finds the largest integer in the list recursively

  Fit the exponential function to the relaxation data

Fit the exponential function to the relaxation data and report the filename as well as the A, tau and B values and run all 3 functions in sequence to analyze ALL data

  Write the command and assign it to variable

Write the command and assign it to variable , Write a function named function_test

  Create a vector in matlab

Create a three dimensional diagram of function.

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd