1RMATH(1)                    General Commands Manual                   RMATH(1)
2
3
4

NAME

6       rmath - a computer algebra system with functions and readline
7       matho - a computer algebra system with functions
8
9

SYNOPSIS

11       rmath [ input_files ]
12       matho [ input_files ]
13
14

DESCRIPTION

16       Mathomatic  is a general-purpose computer algebra system (CAS) that can
17       symbolically solve, simplify, combine, and compare algebraic equations,
18       perform  standard,  complex number, modular, and polynomial arithmetic,
19       etc.  It does some calculus and handles all elementary algebra,  except
20       logarithms.  Plotting expressions with gnuplot is also supported.
21
22       rmath and matho are shell scripts that allow you to use Mathomatic with
23       input of functions like sin(x) and sqrt(x)  automatically  expanded  to
24       equivalent  algebraic  expressions  by  the  m4  macro preprocessor.  A
25       matching pair of parentheses is required around the parameters for  all
26       functions  in  m4  Mathomatic;  m4  requires this.  rmath also runs the
27       rlwrap readline wrapper utility if available, to provide readline input
28       editing support similar to that provided by mathomatic(1).
29
30       rmath  and  matho define and enable named math functions in Mathomatic.
31       Most functions enabled here should be real number, complex number,  and
32       symbolically  capable.   One  exception  is  the abs(x) function, which
33       doesn't work with complex numbers, because it is defined in  Mathomatic
34       as (((x)^2)^.5).
35
36       The  following general functions are defined when using rmath or matho:
37       sqrt(x),  cbrt(x),  exp(x),  pow(x,y),  abs(x),  sgn(x),  factorial(x),
38       gamma(x), floor(x), ceil(x), int(x), and round(x).
39
40       The  following  standard  trigonometric  functions are defined: sin(x),
41       cos(x), tan(x), cot(x), sec(x), and csc(x).  sinc(x) is the  normalized
42       sinc function, defined as sin(pi*x)/(pi*x).
43
44       The  following standard hyperbolic trigonometric functions are defined:
45       sinh(x), cosh(x), tanh(x), coth(x), sech(x), and csch(x).
46
47       The following universal constants are defined: pi, e, i (the  imaginary
48       unit),  euler  (the  Euler-Mascheroni  constant),  omega,  and phi (the
49       golden ratio).
50
51

GENERAL

53       Text files may be specified on the shell  command  line  that  will  be
54       automatically  read  in  through  the  m4 preprocessor into Mathomatic.
55       After any files are read in, Mathomatic prompts for input from the con‐
56       sole.
57
58       Mathomatic  is  best run from within a terminal emulator.  It uses con‐
59       sole line input and output for the user interface.  First you  type  in
60       your  mathematical  equations  in standard algebraic notation, then you
61       can solve them by typing in the variable name at the prompt, or perform
62       operations  on  them  with simple English commands.  Type "help" or "?"
63       for the help command, "help examples" to get started.  If  the  command
64       name  is  longer  than  4 letters, you only need to type in the first 4
65       letters.  Most commands operate on the current equation by default.
66
67       Complete documentation is available in HTML and PDF  formats;  see  the
68       local    documentation    directory    or   online   at   "http://math
69       omatic.org/math/doc/" for the latest Mathomatic documentation.
70
71

FILES

73       ~/.mathomaticrc
74              Optional startup file containing Mathomatic set command options.
75              It  should be a text file with one or more set options per line.
76              For example, the line "no color" will make Mathomatic default to
77              non-color  mode, which is useful if you aren't using a supported
78              color device.
79
80

AUTHOR

82       Mathomatic has been  written  by  George  Gesslein  II  (gesslein@math‐
83       omatic.org), with help from the Internet community.
84
85

REPORTING BUGS

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

SEE ALSO

92       mathomatic(1),  matho-primes(1),  primorial(1),  matho-mult(1),  matho-
93       sum(1), matho-pascal(1), matho-sumsq(1)
94
95
96
97                                                                      RMATH(1)
Impressum