Mercurial > hg > octave-avbm
changeset 6700:b55d109ffe7e
[project @ 2007-06-12 20:51:47 by jwe]
author | jwe |
---|---|
date | Tue, 12 Jun 2007 20:51:47 +0000 |
parents | 3f4ccca05612 |
children | 3933e0693fe0 |
files | doc/ChangeLog doc/interpreter/diffeq.txi |
diffstat | 2 files changed, 22 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2007-06-12 2007-06-10 Søren Hauberg <hauberg@gmail.com> + + * interpreter/diffeq.txi: Note that x-dot is the derivative of x. + 2007-06-03 David Bateman <dbatemna@free.fr> * interpreter/dynamic.txi: Use "mwSize" and "mwIndex" rather than
--- a/doc/interpreter/diffeq.txi +++ b/doc/interpreter/diffeq.txi @@ -5,8 +5,9 @@ @node Differential Equations @chapter Differential Equations -Octave has two built-in functions for solving differential equations. -Both are based on reliable ODE solvers written in Fortran. +Octave has built-in functions for solving ordinary differential equations, +and differential-algebraic equations. +All solvers are based on reliable ODE solvers written in Fortran. @menu * Ordinary Differential Equations:: @@ -40,6 +41,8 @@ @noindent using Hindmarsh's ODE solver @sc{Lsode}. + + @DOCSTRING(lsode) @DOCSTRING(lsode_options) @@ -102,15 +105,25 @@ $$ @end tex @end iftex -@ifinfo +@ifnottex @example 0 = f (x-dot, x, t), x(t=0) = x_0, x-dot(t=0) = x-dot_0 @end example -@end ifinfo +@end ifnottex @noindent -using Petzold's DAE solver @sc{Daspk}. +where +@iftex +@tex +$\dot{x} = {dx \over dt}$ +@end tex +@end iftex +@ifnottex +@math{x-dot} +@end ifnottex +is the derivative of @math{x}. The equation is solved using Petzold's +DAE solver @sc{Daspk}. @DOCSTRING(daspk)