Items tagged with ode ode Tagged Items Feed

Hi, I am an student and I am currently working on a system that sketches the relation of predator and prey of yellowstone's gray wolf and elk. I tried using the Lotka-Volterra model, but I wanted to add more parameters and add a carrying capacity for the system. Unfortunatley I cannot find a way to edit the Lotka model to my needs, and because I am new i do not know how to create my own model. This is the two equations I want to use: (D(x))(t) = alpha*x(t)-ax^2/k-b*x(t)*y(t)-gx(t), (D(y))(t) = -beta*y(t)+c*x(t)*y(t)-gy(t)

were k is carrying capacity.

Basically what I am asking is that if someone can help make the system workable on Maple and some steps of how to do it. 

Hello guys,

I am stuck with the following code. I cannot get a solution. Mapple doesn't even run. Please help, I am in urgent need on help!!!

 

 

I've got the following four differential equations :

v_x:=diff(x(t),t);
v_y:=diff(y(t),t);
d2v_x:=-((C_d)*rho*Pi*(r^2)*(v_x)*sqrt((v_x)^2 +(v_y)^2))/(2*m);
d2v_y:=-((C_d)*rho*Pi*(r^2)*(v_y)*sqrt((v_x)^2 +(v_y)^2))/(2*m)-g;


and the following initial value conditions:

x(0)=0,y(0)=0,v_x(0)=v0/sqrt(2),v_y(0)=v0/sqrt(2) given v0=65 

I need to solve these using the numeric type and then draw overlaid plots

(i) setting C_d=0

(ii) leaving C_d as a variable

before plotting y(t) vs x(t). The hint for this last part is that the path can be seeing using [x(t),y(t)] instead of [t,y(t)]

I've tried to do it but seemed to have several syntax errors.

 

 

I've got the following diff.eq

y'(x)=sin(x*y(x)) given y(0)=1 

and need to solve it numerically which is why I've used:

dy4:=diff(y(x),x);
eqn4:=dy4=sin(x*y(x));
ic1:=y(0)=1;
ans3:=dsolve({eqn4,ic1},y(x),type=numeric);

This code doesn't return a value though and in fact, ans3 is being displayed as a procedure

"ans3:=proc(x_rkf45) ... end proc"

I don't quite understand why and what I need to do to get the required numerical solution

 

In the attached Maple worksheet I attempt to plot the solution of an initial value problem for a first order ODE.  DEplot fails with a cryptic message.  Strangely enough, if I give the "arrows=none" option to DEplot, it produces the correct plot!

I see this behavior in Maple 17 and 18.

Maple 11, however, works fine with or without the "arrows=none" option.

Is there an explanation for this or is it a bug?

DEplot-bug.mw

hai everyone. i am currently trying to solve an integration of the following ∫g(η)dη . integrate from 0 to 10.

from the following odes.

f ''' +1-(f ')2 +ff ''=0,

g''-gf'+fg'=0,

with boundary conditions f(0)=0, f'(0)=λ, f'(∞)=1, g(0)=1,g(∞)=0

First, i solve the odes using the shooting method. then i used the trapezoidal rule to solve for the integration of g(eta) using the following codes

> with(student);
> trapezoid(g(eta), eta = 0 .. 10, 10);
> evalf(%);

it seems that it can not read the data from the shooting method. can anyone suggest why it is happening?

thank you verymuch for your concern :)

So I am trying to solve a given ODE using calculated christoffel symbols found by maple, and in order to get the correct christoffel symbols, I need my function to be r=x-x_s, where x is not a function of t. However, I then have to solve the ODE where x is a function of t. Maple used the r value to find the christoffel symbols which has x in it, and now I want to find the origonal function of x(t), but I can't have x and x(t) in the same ODE. If I change r=x-x_s to r=x(t)-x_s, I get the wrong christoffel symbols. How can I solve my ODE?

I try to solve a set of differential equations with boundary conditions by dsolve command but I got this error:

--------------------------------------------------------------------------------------------------------------------------

odes := D2*(diff(P(x), x))/((3*D1*a+4*D2)*P(x))-(diff(S(x), x))/(q*S(x)-1) = 0, diff(S(x), `$`(x, 2))+(diff(S(x), x))*cotx+4*pi*(3*D1*a+4*D1)*P(x)/((q*S(x)-1)*D2) = 0

ics := P((1/2)*pi) = 1, S((1/2)*pi) = -1, (D(S))((1/2)*pi) = 0, (D(P))((1/2)*pi) = 0

sol := dsolve({ics, odes}, numeric);
Error, (in dsolve/numeric/process_input) input system must be an ODE system, got independent variables {x, (1/2)*pi}

--------------------------------------------------------------------------------------------------------------------------

Does any body knows what the problem is??

 

 

i want to solve the 2nd order ODE y''=0.8y'arctan(x)+xy    -2<x<1

the maple code used is:

>maplesol := dsolve({ (D(D(y)))(x) =0.8*arctan(x)*(D(y))(x)+x*y(x),y(-2)=1.3,D(y)(-2)=0.7});

and maple only gives out maplesol:=

 

I think its something to do with the arctan(x) because when i remove it, i get an answer.

Hello everybody,

I'm an engineer and i want to solve the following ODE:

EJ*diff(w(x),x,x,x,x) - (Nr/2*(1+x)+Nl/2*(1-x))*diff(w(x),x,x) = q(x)

constants: EJ, Nr, Nl

Is it possible to solve this ODE in Maple? I tried dsolve with coeffs=rational but it doesn't work!

Thx!!!

Good day everyone, how can one check for the congence of numerical solution of this ODE in maple? See it here 1.mw

Best regards.

Dear All,

I solve an equation  as follows,

m:=dsolve({T(0) = 300, diff(T(t), t) = (min(G1, G2)-Loss)*(1/35513)}, T(t), numeric)

G1,G2, and Loss are functions of T and G1 and Loss are tangent at point A where T=600, when I want to plot the dsolve solution by odeplot,like this

odeplot(m, [t, T(t)], 0 .. 800)]

I got a curve whose maximum value  is  600( equal to the tangent value) and actually the value should increase after passing the tangent point, Who can tell me where is the problem. Thanks.

How to numerically solve the problem

with Maple? Such type problems arise in elasticity theory (for example, see https://zbmath.org/?q=an:01366371).

Edit. Typo in the code:sin(y(x)) instead of sin(x).

 

I'm trying to solve some ODE analitically. But Maple gives me an incorrect solution. What am I doing wrong? Thank you.

 

How can one use maple to linearized nonlinear ODE of this type Linearize.mw

with maple.

Best regards.

 

1 2 3 4 5 6 7 Last Page 2 of 22