|
NAMEMaxima - Common Lisp version of MACSYMA symbolic mathematics package released under the GNU Public Licensermaxima - A version of Maxima that supports command autocompletion Xmaxima - A graphical version of Maxima SYNOPSISmaxima [options]rmaxima [options] xmaxima [options] DESCRIPTIONMaxima is a version of the MIT-developed MACSYMA system, modified to run under Common Lisp. It is an interactive expert system and programming environment for symbolic and numerical mathematical manipulation. Written in Lisp, it allows differentiation, integration, solution of linear or polynomial equations, factoring of polynomials, expansion of functions in Laurent or Taylor series, computation of Poisson series, matrix and tensor manipulations, and two- and three-dimensional graphics. Procedures may be written using an ALGOL-like syntax, and both Lisp-like functions and pattern matching facilities are provided. Files containing Maxima objects may be read from and written to disk files. Pre-written Maxima commands may be read from a file and executed, allowing batch-mode use.OPTIONS
INTRODUCTORY INSTRUCTIONSUpon initialization, maxima prints a startup message, then a command line prompt:(%i1) All Maxima commands must be concluded with either:
EXAMPLE(%i1) diff(sin(x),x);(%o1) cos(x) (%i2) integrate(%o1,x); (%o2) sin(x) The user types in commands which create Maxima objects (such as functions and system variables) and which manipulate these objects. On UNIX it may be preferable to run Maxima under Gnu Emacs or XEmacs. You can do this by invoking shell mode in emacs, and then invoking maxima. Preferably, install maxima.el from the distribution and use the command:
The main advantage of working inside emacs is that it provides a complete history of input/output. If you execute the command
you will be able to use your output as input, by simply killing and yanking. Lisp is built into Maxima. The function to_lisp() enters the Lisp read-eval-print loop. The Lisp function (run) may be used to return to Maxima. Alternatively, single Lisp commands may be invoked by starting a command line with :lisp. BUILT-IN HELPThe reference manual can be accessed from the Maxima input prompt. A description of a given command can be obtained by typing the commanddescribe(command); or, simply, ? command The command ?? command searches the list of functions for the string command and prints matching functions. Demonstration files provide complete examples of problems solved with Maxima, and may be accessed with the command demo(command);. A library of user-contributed command files is also provided (the share library), directed toward a variety of problems. OTHER DOCUMENTATIONThe reference manual is provided in both info and html formats.COMMAND PRIMERThis list includes only commands which the beginner might find useful to know about prior to studying the reference manual and other texts.
PLOTTING COMMANDSMaxima is capable of producing 2- and 3-dimensional plots. Here is a simple 2-dimensional exampleplot2d (sin(x), [x, -2*%pi, 2*%pi]); and a simple 3-dimensional example plot3d (2^(-u^2 + v^2), [u, -5, 5], [v, -7, 7]); By default plots are made by the gnuplot plotting package. Plots can be made by other means; see "? plot_options". For more information about plotting, see "? plot". FILES
ENVIRONMENT VARIABLES
Maxima uses several other environment variables for communication between the maxima script and the lisp image. All such variables start with MAXIMA_. They should not need to be modified by the user. CUSTOMIZATION FILES
REFERENCESOld Reference: MACSYMA Reference Manual (volumes 1 and 2). The Mathlab Group, Laboratory for Computer Science, MIT. Version 10. January 1983.Newer references: https://maxima.sourceforge.io BUGSMaxima is a complex system. It includes both known and unknown bugs. Use at your own risk. The Maxima bug database is available athttps://sourceforge.net/p/maxima/bugs/ New bug reports are always appreciated. Please include the output of the Maxima function "build_info()" with the report. AUTHORSMACSYMA (Project MAC's SYmbolic MAnipulation System) was developed by the Mathlab group of the MIT Laboratory for Computer Science (originally known as Project MAC), during the years 1969-1972. Their work was supported by grants NSG 1323 of the National Aeronautics and Space Administration, N00014-77-C-0641 of the Office of Naval Research, ET-78-C-02-4687 of the U.S. Department of Energy, and F49620-79-C-020 of the U.S. Air Force. MACSYMA was further modified for use under the UNIX operating system (for use on DEC VAX computers and Sun workstations), by Richard Fateman and colleagues at the University of California at Berkeley; this version of MACSYMA is known as VAXIMA. The present version stems from a re-working of the public domain MIT MACSYMA for GNU Common Lisp, prepared by William Schelter, University of Texas at Austin until his passing away in 2001. It contains numerous additions, extensions and enhancements of the original. The original version of this manual page was written by R. P. C. Rodgers, UCSF School of Pharmacy, San Francisco, CA 94143 (rodgers@maxwell.mmwb.ucsf.edu) in 1989. It was extensively revised by James Amundson in 2002.Maxima is now developed and maintained by the Maxima project at <https://maxima.sourceforge.io>. SEE ALSOwxmaxima(1)
Visit the GSP FreeBSD Man Page Interface. |