Mathomatic is a portable, general purpose CAS (Computer Algebra System) written entirely in C. It is free software, published under the GNU Lesser General Public License (LGPL version 2.1). This is a console mode application that does symbolic math and quick calculations. It compiles and runs under any operating system with a C compiler. There are no dependencies other than the standard C libraries. Mathomatic has been under development since 1986 and now stands at 16,000 lines of code (including comments).
The current version number is: 12.7.6 (Released 2007-09-06).
1-> x = (a + 1) * (b + 2) #1: x = (a + 1)*(b + 2) 1-> b x #1: b = ----- - 2 (a + 1) 1-> code python b = ((x / (a + 1.0)) - 2.0)