Mathomatic

Mathomatic[2] is a free, portable, general-purpose computer algebra system (CAS) that can symbolically solve, simplify, combine and compare algebraic equations, and can perform complex number, modular, and polynomial arithmetic, along with standard arithmetic.

Mathomatic is capable of solving, differentiating, simplifying, calculating, and visualizing elementary algebra.

The software does not include a GUI except with the Mathomatic trademark authorized, versions for smartphones and tablets running iOS[4] or Android.

[3] The console interface is simple and requires learning the basic algebra notation to start.

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.

Solving and code generation example, where the work is shown: Development of Mathomatic was started in the year 1986 by George Gesslein II, as an experiment in computerized mathematics.

Use of the Mathomatic Symbolic Math Library allows mixing programming languages and is operating system independent.

The Mathomatic standard distribution[6] memory requirement defaults to a maximum of 400 megabytes, depending on the size of the equation spaces and how many expressions have been entered.

Mathomatic is written to do most symbolic manipulations with memory moves, like an assembly language program.

This causes Mathomatic to crash when used with the new LLVM backend, which doesn't seem to like the standard C library function memmove(3).

Another set of examples, from a screenshot