Question: can you show me using eulers method? Case 2: Steady State Model Find the initial values for rabbit and fox population (rss,fss) that result in
Case 2: Steady State Model Find the initial values for rabbit and fox population (rss,fss) that result in a non-zero steady-state condition. Use (rss,fss) as initial conditions and show you get the proper response. You will likely need to work this on paper (manipulating equations) before coding. Equations to use for steady state: dr/dt = 0 = GRR'r (EFR*f)*r df/dt 0 = GRF*f+(ERF*r)*f . Inputs parameters= [GRR,EFR,GRE,ERF] GRR, growth rate of rabbits EFR, effect of foxes on rabbit increase 6. GRF, growth rate of foxes ERF, effect of rabbits on fox increase timedata= (tinit,tfinal,delt] tinit, time at the start of the model run Otfinal, time at the end of the model run delt, the size of the time step in Euler's method Outputs rss fss rabbit and fox initial conditions that give steady state rvec,fvec rabbit and fox histories, using rss, fss as initial conditions o Function Setup function (rss, Iss,rvec,fvec)= Predator Prey_2_fen(parameters,timedata) % Your code here end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
