help-octave
[Top][All Lists]
Advanced

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

Re: Solving ODE


From: tiago . charters . azevedo
Subject: Re: Solving ODE
Date: Thu, 08 May 2008 11:11:45 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

The prolem that you describe
Solve: y''(t) + y(t) =0
such that:
y(0)=3 & y(pi/2)=3

seems to be boundary value problem (BVP), not an initial conditions problem.
The function lsode solves an initial conditions problem not an  boundary value
problem.

I suggest using the odebvp package which solves a linear BVP. You can get it
from octave-forge. It should work on you octave version

http://octave.sourceforge.net/doc/f/lfdif.html

tca



reply via email to

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