Question: please help me with this Mahtlab workshop u can use octave if u want just do 6.1 part 2 6.1 Exercises 1. Implement the following
please help me with this Mahtlab workshop u can use octave if u want
just do 6.1 part 2

6.1 Exercises 1. Implement the following non-automomous ODE in MATLAB . x(t)=r(sin(t)x(t)) 22 Simulate the ODE with r=0.01 and r=100 on the interval 0t100. Plot your solution x(t) together with sin(t). 2. The Lotka-Volterra model describes the dynamics of two interacting populations consisting of predator (x) and pray (y) x(t)y(t)=ax(t)y(t)bx(t)=cy(t)dx(t)y(t) Implement the Lotka-Volterra model in MATLAB and simulate it with ode15s using as parameter values a=1,b=1,c=1.5,d=1 and as initial conditions x0=2,y0=5. Plot x(t) and y(t) as well as the y(x). Hint: you can plot the phase space x(t) vs. y(t)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
