Re: equation



On Mar 3, 1:06 pm, "adriano meis" <doreciakg...@xxxxxxxxxxx> wrote:

I have the free maxima 5.12
can I solve a linear finite difference equation,
in a symbolic way, with Maxima?
For example, if I give to Maxima the input:
x(n+1)+x(n)=0
then Maxima have to give me the output:

x(n)=c*(-1)^n. (where c depends on initial condition).

The package solve_rec can solve some difference equations.

load (solve_rec);
solve_rec (x[n] + x[n + 1]=0, x[n]);
=> x[n] = %k[1]*(-1)^n

I think solve_rec is in Maxima 5.12. If not just
get a later version.

There might be another package for difference equations,
I don't remember for sure.

HTH

Robert Dodier
.



Relevant Pages

  • Re: equation
    ... John Ivie published a paper including program listings for solving ... difference equations (in Macsyma). ... I have the free maxima 5.12 ...
    (sci.math.symbolic)
  • Re: how to force installation of debian package
    ... I am using sidux os (sid debian). ... sbcl since this works and the debian maxima package compiled with gcl ... Now I want to install the debian package wxmaxima that needs maxima to work ...
    (Debian-User)
  • Re: Grobner Basis package on Maxima 5.13.0 versus Macsyma 2.2
    ... which consists of two polynomials: a quadratic polynomial in "x" which ... I would like to duplicate that using Maxima 5.13.0. ... cannot make sense of the package, most likely due to my ignorance of the ... mathematics behind Grobner bases (I have tried, ...
    (sci.math.symbolic)
  • Re: how to package?
    ... Hash: SHA1 ... I have the source of the program maxima. ... I would like to make a debian package ... Is there any place where I can find documentation about making debian ...
    (Debian-User)
  • Re: Errors when using Maxima code
    ... called "Sin". ... But when I try to load and use this package in my Clisp implementation ... Is the Lisp of Maxima different from the ANSI ... Common Lisp I use and how can I reconcile the differences? ...
    (comp.lang.lisp)