rmath and matho are shell scripts that allow you to use Mathomatic with input of functions like sin(x) and sqrt(x) automatically expanded to equivalent algebraic expressions by the m4(1) macro preprocessor. The elapsed time, the CPU time, and the system time of the Mathomatic process are displayed in seconds upon exit. Additionally, rmath runs the rlwrap(1) program to provide readline input editing support.
The following general functions are defined when using rmath and matho: sqrt(x), cbrt(x), exp(x), pow(x), abs(x), gamma(x), mod(x), floor(x), ceil(x), and int(x).
The following trigonometric functions are defined: sin(x), cos(x), tan(x), cot(x), sec(x), and csc(x).
The following hyperbolic trigonometric functions are defined: sinh(x), cosh(x), tanh(x), coth(x), sech(x), and csch(x).
The following universal constants are defined: pi, e, i, and phi, which is the golden ratio.
Mathomatic is best run from within a terminal emulator. It uses console line input and output for the user interface. First you type in your mathematical equations in standard infix notation, then you can solve them by typing in the variable name at the prompt, or perform operations on them with simple English commands. Type "help" or "?" for the help command. If the command is longer than 4 letters, you only need to type in the first 4 letters. Most commands operate on the current equation by default.
Complete documentation is available in HTML and PDF formats; see the local documentation directory or online at "http://mathomatic.org/math/doc/ " for the latest Mathomatic documentation.