help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Solving Differential Equation


From: eric_h22
Subject: Solving Differential Equation
Date: Wed, 16 Apr 2014 01:22:51 -0700 (PDT)

Hi, my name is Eric, a newbie to Octave.

Im using octave to solve this ode:
xdot(1)=x(2);
xdot(2)=x(1)+x(1)^3;
with
x0=[1;1];
t=linspace(0,500,1000)

I'm using lsode to solve it. I got an error:
LSODE-- WARNING..INTERVAL T (=R1) AND H(=R2) ARE SUCH THAT IN THE MACHINE
T+H=T ON THE NEXT STEP (H=STEP SIZE). SOLVER WILL CONTINUE ANYWAY

error:lsode: excess work on this call (t=1.530358; perhaps wrong integration
method)

Can someone help me?

Thx.



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Solving-Differential-Equation-tp4663621.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]