RMATH(1) manual page

Table of Contents

## Name

rmath - a computer algebra system with functions and readline
matho - a computer algebra system with functions

## Synopsis

rmath [ input_files ]
matho [ input_files ]

## Description

Mathomatic is a general-purpose computer algebra system (CAS) that can symbolically solve, simplify, combine, and compare algebraic equations, perform complex number and polynomial arithmetic, etc. It does some calculus and handles all elementary algebra, except logarithms. Plotting expressions with gnuplot(1) is also supported.

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. Additionally, rmath runs the rlwrap(1) program to provide readline input editing support.

The following general functions are defined when using rmath or matho: sqrt(x), cbrt(x), exp(x), pow(x,y), abs(x), sgn(x), gamma(x), floor(x), ceil(x), int(x), and round(x).

The following standard 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 named binary operators are defined: mod for modulus.

The following universal constants are defined: pi, e, i (the imaginary unit), euler, omega, and phi (the golden ratio).

## General

Text files may be specified on the shell command line that will be automatically read in through the m4 preprocessor into Mathomatic. After any files are read in, Mathomatic prompts for input from the console.

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 algebraic 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.

## Files

~/.mathomaticrc
  Optional startup file containing Mathomatic set command options. It should be a text file with one set option per line. Do not include the word "set". For example, the line "no color" will make Mathomatic default to non-color mode, which is useful if you aren’t using a standard ANSI terminal emulator.

## Author

Mathomatic has been written by George Gesslein II (gesslein@linux.com) with kind help from John Blommers ("http://www.blommers.org") and the Internet community.

## Reporting Bugs

Please report any bugs to the author or on the Launchpad website: "https://launchpad.net/mathomatic ".

## See Also

mathomatic(1) , matho-primes(1) , primorial(1) , matho-mult(1) , matho-sum(1) , matho-pascal(1) , matho-sumsq(1)

Table of Contents

- Name
- Synopsis
- Description
- General
- Files
- Author
- Reporting Bugs
- See Also