|Developer(s)||Macsyma group at Project MAC and volunteer contributors|
|Stable release||5.31.2 / 8 October 2013|
|Written in||Common Lisp|
Maxima is a computer algebra system based on a 1982 version of Macsyma. It is written in Common Lisp and runs on all POSIX platforms such as Mac OS X, Unix, BSD, and GNU/Linux as well as under Microsoft Windows and Android. It is free software released under the terms of the GNU General Public License.
Maxima is based on a 1982 version of Macsyma, which was developed at MIT with funding from the United States Department of Energy and other government agencies. A version of Macsyma was maintained by Bill Schelter from 1982 until his death in 2001. In 1998, Schelter obtained permission from the Department of Energy to release his version under the GPL. That version, now called Maxima, is maintained by an independent group of users and developers. Maxima does not include any of the many modifications and enhancements made to the commercial version of Macsyma during 1982–1999. Though the core functionality remains similar, code depending on these enhancements may not work on Maxima, and bugs which were fixed in Macsyma may still be present in Maxima, and vice-versa.
Maxima includes a complete programming language with ALGOL-like syntax but Lisp-like semantics. It is written in Common Lisp, and can be accessed programmatically and extended, as the underlying Lisp can be called from Maxima. It uses Gnuplot for drawing.
Maxima is a full-featured CAS (computer algebra system) that specializes in symbolic operations but it also offers numerical capabilities such as arbitrary-precision arithmetic: integers and rational numbers which can grow to sizes limited only by machine memory, and floating point numbers whose precision can be set arbitrarily large ("bfloats").
For calculations which use floating point and arrays heavily, Maxima offers the possibility of generating code in other programming languages (notably Fortran) which may execute more efficiently.
Maxima is a general-purpose system, and special-case calculations such as factorization of large numbers, manipulation of extremely large polynomials, etc. are sometimes better done in specialized systems.
Simple equation solving:
solve(x^2 = 1);
[x = -1, x = 1]
Solving a quadratic:
a*x^2+b*x+c=0; solve(%, x);
which gives the quadratic formula:
Solving a cubic (solution too large to include here):
a*x^3+b*x^2+c*x+d=0; solve(%, x);
Solving a quartic (solution too large to include here):
a*x^4+b*x^3+c*x^2+d*x+e=0; solve(%, x);
The first 32 rows of Pascal's triangle (beginning with row zero) may be calculated with
makelist(makelist(binomial(n, i), i, 0, n), n, 0, 31);
Various graphical user interfaces are available for Maxima. wxMaxima is a popular cross-platform GUI using wxWidgets. Starting with version 4.4, the KDE Software Compilation contains Cantor – which can interface with Maxima (along with Sage, R, and Kalgebra). The GNU TeXmacs and LyX mathematical editor programs can be used to provide an interactive GUI for Maxima, as can Sage. Other options include the Imaxima front end, as well as an Emacs and Xemacs interaction mode which is activated by Imaxima.
- Barnes, David J. & Chu, Dominique (2010). "Chapter 5". Introduction to Modeling for Biosciences. Springer. ISBN 978-1-84996-325-1.
- "Cantor, an interface to Maxima (and other mathematics software)". edu.kde.org. Retrieved 2013-09-20.
|Wikibooks has a book on the topic of: Maxima|
|Wikimedia Commons has media related to Created with Maxima (software).|
- Official website
- wxMaxima, GUI for Maxima
- irc.freenode.net port 6667 channel#maxima
- Maxima Beginner's FAQ
- Maxima 10 Minute Tutorial
- The HTML Maxima Manual in English
- Tutorial, tips and tricks using Maxima.
- Maxima by example, a "second-reading" tutorial for the serious Maxima user.
- dynamicalsystems, collection of several Maxima programs to create various graphical representations of discrete dynamical systems and fractals
- Short list of useful examples
- comparison of Maxima vs. MuPAD, includes a very long list of examples. Somewhat outdated.
- imaxima, Emacs front end that includes typesetting.
- (Japanese) Various plotting examples
- A Maxima-Gnuplot interface, drawing examples
- (German) angeom.mac Analytische Geometrie mit wxMaxima
- (French) The SYM package for Maxima
- (Portuguese) Dynamical Systems textbook at the University of Porto (Portugal), with examples in Maxima
- DragMath, an open-source online equation editor that can export Maxima, and other formats.
- The STACK, computer aided assessment system.
- Maxima on Android, a version of Maxima for Android mobile devices
- Running Maxima online: