Skip to main content
Tweeted twitter.com/StackMma/status/1415370510599393284
added 2 characters in body
Source Link
Bob Hanlon
  • 162.7k
  • 7
  • 81
  • 205

I have Lotka Volterra Equations where the prey equation is modified. The Equations are

x'[t]=a*x[t]*(1-x[t]/k)-b*x[t]*y[t]
y'[t]=-c*y[t]+d*x[t]*y[t]

To plot the limit cycles, i used NDSolve to solve the coupled nonlinear differential equations for x[t] and y[t]. I then used ParametricPlot to plot for x[t] and y[t] with respect to t, but I'm not getting appropriate limit cycles.

I did a steady state analysis of the equations and got certain conditions on the value of a, b, c, d and k. The equation has a non-trivial steady state, at $(x,y)=(c/d,(a/b)-(ac/bdk))$. The commands are:

Equations = {x'[t] == ax[t]*a*x[t]*(1 - x[t]/k) - bx[t]*y[t]b*x[t]*y[t], x[0] == 2, y[0] == 1, y'[t] == -cy[t]c*y[t] + dx[t]*y[t]d*x[t]*y[t]}; 
s = NDSolve[{Equations}NDSolve[Equations, {x, y}, {t, 0, time}];
ParametricPlot[Evaluate[{x[t], y[t]} /. s], {t, 0, 30}] 

For the value of a = 2; b = 1; c = 2.5; d = 1.2; k = 2.8, I'm supposed to get a unstable spiral. But instead, the trajectory approaches the steady state of $(x,y) = (2.08333 , 0.511905)$.

Any help will be greatly appreciated.

I have Lotka Volterra Equations where the prey equation is modified. The Equations are

x'[t]=a*x[t]*(1-x[t]/k)-b*x[t]*y[t]
y'[t]=-c*y[t]+d*x[t]*y[t]

To plot the limit cycles, i used NDSolve to solve the coupled nonlinear differential equations for x[t] and y[t]. I then used ParametricPlot to plot for x[t] and y[t] with respect to t, but I'm not getting appropriate limit cycles.

I did a steady state analysis of the equations and got certain conditions on the value of a, b, c, d and k. The equation has a non-trivial steady state, at $(x,y)=(c/d,(a/b)-(ac/bdk))$. The commands are:

Equations = {x'[t] == ax[t]*(1 - x[t]/k) - bx[t]*y[t], x[0] == 2, y[0] == 1, y'[t] == -cy[t] + dx[t]*y[t]}; 
s = NDSolve[{Equations}, {x, y}, {t, 0, time}];
ParametricPlot[Evaluate[{x[t], y[t]} /. s], {t, 0, 30}] 

For the value of a = 2; b = 1; c = 2.5; d = 1.2; k = 2.8, I'm supposed to get a unstable spiral. But instead, the trajectory approaches the steady state of $(x,y) = (2.08333 , 0.511905)$.

Any help will be greatly appreciated.

I have Lotka Volterra Equations where the prey equation is modified. The Equations are

x'[t]=a*x[t]*(1-x[t]/k)-b*x[t]*y[t]
y'[t]=-c*y[t]+d*x[t]*y[t]

To plot the limit cycles, i used NDSolve to solve the coupled nonlinear differential equations for x[t] and y[t]. I then used ParametricPlot to plot for x[t] and y[t] with respect to t, but I'm not getting appropriate limit cycles.

I did a steady state analysis of the equations and got certain conditions on the value of a, b, c, d and k. The equation has a non-trivial steady state, at $(x,y)=(c/d,(a/b)-(ac/bdk))$. The commands are:

Equations = {x'[t] == a*x[t]*(1 - x[t]/k) - b*x[t]*y[t], x[0] == 2, y[0] == 1, y'[t] == -c*y[t] + d*x[t]*y[t]}; 
s = NDSolve[Equations, {x, y}, {t, 0, time}];
ParametricPlot[Evaluate[{x[t], y[t]} /. s], {t, 0, 30}] 

For the value of a = 2; b = 1; c = 2.5; d = 1.2; k = 2.8, I'm supposed to get a unstable spiral. But instead, the trajectory approaches the steady state of $(x,y) = (2.08333 , 0.511905)$.

Any help will be greatly appreciated.

added 17 characters in body
Source Link
C. E.
  • 71.2k
  • 6
  • 141
  • 269

I have Lotka Volterra Equations where the prey equation is modified. The Equations are

x'[t]=ax[t](1-x[t]/k)-b*x[t]*y[t]

y'[t]=-cy[t]+dx[t]*y[t]

x'[t]=a*x[t]*(1-x[t]/k)-b*x[t]*y[t]
y'[t]=-c*y[t]+d*x[t]*y[t]

To plot the limit cycles, i used NDsolveNDSolve to solve the coupled nonlinear differential equations to solve for x[t] and y[t]. I then used ParametricPlotParametricPlot to plot for x[t]x[t] and y[t]y[t] with respect to tt, but I'm not getting appropriate limit cycles.

I did a steady state analysis of the equations and got certain conditions on the value of aa,b b,c c,d d and kk.

Now, the The equation has a non trivial-trivial steady state, at (x,y)=(c/d,(a/b)-(ac/bdk))$(x,y)=(c/d,(a/b)-(ac/bdk))$.

  The commands are -

Equations = {x'[t] == ax[t]*(1 - x[t]/k) - bx[t]*y[t], x[0] == 2, y[0] == 1, y'[t] == -cy[t] + dx[t]*y[t]};

s = NDSolve[{Equations}, {x, y}, {t, 0, time}];:

ParametricPlot[Evaluate[{x[t], y[t]} /. s], {t, 0, 30}]

Equations = {x'[t] == ax[t]*(1 - x[t]/k) - bx[t]*y[t], x[0] == 2, y[0] == 1, y'[t] == -cy[t] + dx[t]*y[t]}; 
s = NDSolve[{Equations}, {x, y}, {t, 0, time}];
ParametricPlot[Evaluate[{x[t], y[t]} /. s], {t, 0, 30}] 

For the value of a = 2; b = 1; c = 2.5; d = 1.2; k = 2.8a = 2; b = 1; c = 2.5; d = 1.2; k = 2.8, I'm supposed to get a unstable spiral. But instead, the Parametric Plot goes totrajectory approaches the steady state of (x,y) = (2.08333 , 0$(x,y) = (2.08333 , 0.511905)$.511905)

Any help will be greatly appreciated.

I have Lotka Volterra Equations where the prey equation is modified. The Equations are

x'[t]=ax[t](1-x[t]/k)-b*x[t]*y[t]

y'[t]=-cy[t]+dx[t]*y[t]

To plot the limit cycles, i used NDsolve to solve the coupled nonlinear differential equations to solve for x[t] and y[t]. I then used ParametricPlot to plot for x[t] and y[t] with respect to t, but I'm not getting appropriate limit cycles.

I did a steady state analysis of the equations and got certain conditions on the value of a,b,c,d and k.

Now, the equation has a non trivial steady state, at (x,y)=(c/d,(a/b)-(ac/bdk)).

  The commands are -

Equations = {x'[t] == ax[t]*(1 - x[t]/k) - bx[t]*y[t], x[0] == 2, y[0] == 1, y'[t] == -cy[t] + dx[t]*y[t]};

s = NDSolve[{Equations}, {x, y}, {t, 0, time}];

ParametricPlot[Evaluate[{x[t], y[t]} /. s], {t, 0, 30}]

For the value of a = 2; b = 1; c = 2.5; d = 1.2; k = 2.8, I'm supposed to get a unstable spiral. But instead, the Parametric Plot goes to the steady state of (x,y) = (2.08333 , 0.511905)

Any help will be greatly appreciated.

I have Lotka Volterra Equations where the prey equation is modified. The Equations are

x'[t]=a*x[t]*(1-x[t]/k)-b*x[t]*y[t]
y'[t]=-c*y[t]+d*x[t]*y[t]

To plot the limit cycles, i used NDSolve to solve the coupled nonlinear differential equations for x[t] and y[t]. I then used ParametricPlot to plot for x[t] and y[t] with respect to t, but I'm not getting appropriate limit cycles.

I did a steady state analysis of the equations and got certain conditions on the value of a, b, c, d and k. The equation has a non-trivial steady state, at $(x,y)=(c/d,(a/b)-(ac/bdk))$. The commands are:

Equations = {x'[t] == ax[t]*(1 - x[t]/k) - bx[t]*y[t], x[0] == 2, y[0] == 1, y'[t] == -cy[t] + dx[t]*y[t]}; 
s = NDSolve[{Equations}, {x, y}, {t, 0, time}];
ParametricPlot[Evaluate[{x[t], y[t]} /. s], {t, 0, 30}] 

For the value of a = 2; b = 1; c = 2.5; d = 1.2; k = 2.8, I'm supposed to get a unstable spiral. But instead, the trajectory approaches the steady state of $(x,y) = (2.08333 , 0.511905)$.

Any help will be greatly appreciated.

added 443 characters in body
Source Link

I have Lotka Volterra Equations where the prey equation is modified. The Equations are

x'[t]=ax[t](1-x[t]/k)-b*x[t]*y[t]

y'[t]=-cy[t]+dx[t]*y[t]

To plot the limit cycles, i used NDsolve to solve the coupled nonlinear differential equations to solve for x[t] and y[t]. I then used ParametricPlot to plot for x[t] and y[t] with respect to t, but I'm not getting appropriate limit cycles.

I did a steady state analysis of the equations and got certain conditions on the value of a,b,c,d and k.

Now, the equation has a non trivial steady state, at (x,y)=(c/d,(a/b)-(ac/bdk)).

The commands are -

Equations = {x'[t] == ax[t]*(1 - x[t]/k) - bx[t]*y[t], x[0] == 2, y[0] == 1, y'[t] == -cy[t] + dx[t]*y[t]};

s = NDSolve[{Equations}, {x, y}, {t, 0, time}];

ParametricPlot[Evaluate[{x[t], y[t]} /. s], {t, 0, 30}]

For the value of a = 2; b = 1; c = 2.5; d = 1.2; k = 2.8, I'm supposed to get a unstable spiral. But instead, the Parametric Plot goes to the steady state of (x,y) = (2.08333 , 0.511905)

Any help will be greatly appreciated.

I have Lotka Volterra Equations where the prey equation is modified. The Equations are

x'[t]=ax[t](1-x[t]/k)-b*x[t]*y[t]

y'[t]=-cy[t]+dx[t]*y[t]

To plot the limit cycles, i used NDsolve to solve the coupled nonlinear differential equations to solve for x[t] and y[t]. I then used ParametricPlot to plot for x[t] and y[t] with respect to t, but I'm not getting appropriate limit cycles.

Any help will be greatly appreciated.

I have Lotka Volterra Equations where the prey equation is modified. The Equations are

x'[t]=ax[t](1-x[t]/k)-b*x[t]*y[t]

y'[t]=-cy[t]+dx[t]*y[t]

To plot the limit cycles, i used NDsolve to solve the coupled nonlinear differential equations to solve for x[t] and y[t]. I then used ParametricPlot to plot for x[t] and y[t] with respect to t, but I'm not getting appropriate limit cycles.

I did a steady state analysis of the equations and got certain conditions on the value of a,b,c,d and k.

Now, the equation has a non trivial steady state, at (x,y)=(c/d,(a/b)-(ac/bdk)).

The commands are -

Equations = {x'[t] == ax[t]*(1 - x[t]/k) - bx[t]*y[t], x[0] == 2, y[0] == 1, y'[t] == -cy[t] + dx[t]*y[t]};

s = NDSolve[{Equations}, {x, y}, {t, 0, time}];

ParametricPlot[Evaluate[{x[t], y[t]} /. s], {t, 0, 30}]

For the value of a = 2; b = 1; c = 2.5; d = 1.2; k = 2.8, I'm supposed to get a unstable spiral. But instead, the Parametric Plot goes to the steady state of (x,y) = (2.08333 , 0.511905)

Any help will be greatly appreciated.

Source Link
Loading