- Mathomatic
-
Mathomatic
Mathomatic on a terminal emulatorDeveloper(s) George Gesslein II Initial release 1987, 23–24 years ago[1] Stable release 15.7.1 / November 18, 2011 Development status Active Written in C Operating system Cross-platform, Unix-like Available in English Type Computer algebra system License GNU Lesser General Public License Website mathomatic.org Mathomatic is a free, portable, general-purpose computer algebra system (CAS) that can symbolically solve, simplify, combine, and compare algebraic equations, perform complex number, modular, and polynomial arithmetic, etc. It does some symbolic calculus (derivative, extrema, Taylor series, and polynomial integration and Laplace transforms) and handles all elementary algebra except logarithms. Trigonometric functions can be entered and manipulated using complex exponentials, with the GNU m4 preprocessor. Not currently implemented are general functions like f(x), arbitrary-precision and interval arithmetic, and matrices.
Contents
Features
Mathomatic excels at solving, differentiating, simplifying, and calculating elementary algebra.
The software does not include a GUI except on the iPhone.[2] It is a console mode application using a color command-line interface based on GNU readline that runs in a terminal emulator under any UNIX-like operating system. The console interface is very simple and requires little more than learning the basic algebra notation to get started.[3]
There is no programming capability; the interpreter works like an algebraic calculator. Expressions and equations are entered in standard algebraic infix notation. Operations are performed on them by entering simple English commands.
Because all numeric arithmetic is double precision floating point, and round-off error is not tracked, Mathomatic is not suitable for applications requiring high precision, such as astronomical calculations. It is useful for symbolic-numeric calculations of about 14 decimal digits accuracy, although many results will be exact, if possible.
Mathomatic can be used as a floating point or integer arithmetic code generating tool, simplifying and converting equations into optimized assignment statements in the Python, C, and Java programming languages.
The Mathomatic source code can be compiled as a symbolic math library with a very simple API, which can be linked to C compatible programs that need to use the Mathomatic symbolic math engine.
Session examples
1-> x = (a+1)*(b+2) #1: x = (a + 1)*(b + 2) 1-> b ; solve for b x #1: b = ------- - 2 (a + 1) 1-> code C ; output C programming language code b = ((x/(a + 1.0)) - 2.0); 1-> variables C ; define the variables for the C compiler double x; double a; double b; 1->
History
Development of Mathomatic was started in the year 1986 by George Gesslein II, as an experiment in computerized mathematics.[4] It was originally written in Microsoft C for MS-DOS. Versions 1 and 2 were published by Dynacomp of Rochester, New York in 1987[1] and 1988[5] as a scientific software product for DOS. Afterwards it was released as shareware and then emailware, with a 2D equation graphing program. At the turn of the century, Mathomatic was ported to the GNU C Compiler under Linux and became free software. The graphing program was discontinued; 2D/3D graphing of equations is now accomplished with gnuplot.
The name "Mathomatic" is a portmanteau of "math" and "automatic", and was inspired by the naming and automation of Rog-O-Matic, which was an early experiment in artificial intelligence.
Available platforms
Mathomatic is available for Microsoft Windows using MinGW.[6] It is available for Mac OS X,[7] for the iPhone,[2] and for the Nintendo DS under DSLinux and stand-alone.[8] Fedora Linux,[9] Slackware,[10] Debian,[11] Ubuntu,[12] Gentoo Linux,[13] and all of the BSD Unix distributions include Mathomatic as an automatically installable package. The ports are all maintained by separate individuals.
Requirements
Building from source requires a C compiler with the standard C libraries. If compiled with the GCC C compiler for a Unix-like operating system, no changes need to be made to the source code.
Mathomatic can be ported to any computer with at least 1 megabyte of free RAM. The Mathomatic standard distribution[14] memory requirement defaults to a maximum of 400 megabytes, depending on the size of the equation spaces and how many expressions have been entered. Equation spaces are fixed size arrays that are allocated as needed, the size of which is set during compilation or startup. Each algebraic expression or equation entered at the main prompt is stored in an equation space.
See also
- Comparison of computer algebra systems
- Maxima - a more complete CAS with similar functionality, also free.
References
- ^ a b http://books.google.com/books?id=6UgqAAAAMAAJ&q=mathomatic&dq=mathomatic&cd=2
- ^ a b Mathomatic for the iPhone
- ^ Solve math problems lazy man way OpenSourcePedia, 2011.
- ^ Official Mathomatic User Guide
- ^ http://books.google.com/books?id=iewsAQAAIAAJ&q=mathomatic&dq=mathomatic&cd=1
- ^ Mathomatic MS-Windows port
- ^ Mathomatic Mac OS X port
- ^ Mathomatic ported to the Nintendo DS
- ^ The Mathomatic package in Fedora
- ^ Official Slackware port of Mathomatic in SlackBuilds
- ^ Debian - Package Search Results - mathomatic
- ^ Mathomatic packages in Ubuntu Linux
- ^ Gentoo Packages /package/sci-mathematics/mathomatic
- ^ Found on the Mathomatic website
External links
- Official website
- Mathomatic documentation
- (Italian) Additional documentation in Italian.
- An example of Mathomatic being used for quick calculations.
- Mathematics on a UNIX workstation
- Mathomatic at Freecode
- Mathomatic at MacUpdate
Computer algebra systems Retail Algebrator · ClassPad Manager · LiveMath · Magma · Maple · Mathcad · Mathematica · MuPAD (MATLAB symbolic math toolbox) · TI InterActive! · WIRISOpen source Free/shareware Discontinued Category • Comparison Categories:- Free computer algebra systems
- IOS software
- Linux computer algebra system software
- Nintendo DS homebrew
- Free software programmed in C
- Free cross-platform software
- C libraries
- Portable software
- Embedded Linux
- Command-line software
Wikimedia Foundation. 2010.