« Return to Thread: Solving ODE

Re: Solving ODE

by tiago.charters.azevedo :: Rate this Message:

Reply to Author | View in Thread

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

_______________________________________________
Help-octave mailing list
Help-octave@...
https://www.cae.wisc.edu/mailman/listinfo/help-octave

 « Return to Thread: Solving ODE