Debian Codegraph @

doc/rmath.1.html

raw
1 <!-- manual page source format generated by PolyglotMan v3.2, -->
2 <!-- available at http://polyglotman.sourceforge.net/ -->
3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
5 <html>
6 <head>
7 <meta name="generator" content=
8 "HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
9
10 <title>RMATH(1) manual page</title>
11 </head>
12
13 <body bgcolor='white'>
14 <a href='#toc'>Table of Contents</a>
15
16 <h2><a name='sect0' href='#toc0' id="sect0">Name</a></h2>rmath -
17 a computer algebra system with functions and readline<br>
18 matho - a computer algebra system with functions
19
20 <h2><a name='sect1' href='#toc1' id=
21 "sect1">Synopsis</a></h2><b>rmath</b> [ input_files ]<br>
22 <b>matho</b> [ input_files ]
23
24 <h2><a name='sect2' href='#toc2' id=
25 "sect2">Description</a></h2>Mathomatic is a general-purpose
26 computer algebra system (CAS) that can symbolically solve,
27 simplify, combine, and compare algebraic equations, perform
28 standard, complex number, modular, and polynomial arithmetic,
29 etc. It does some calculus and handles all elementary algebra,
30 except logarithms. Plotting expressions with <b>gnuplot</b> is
31 also supported.
32
33 <p><b>rmath</b> and <b>matho</b> are shell scripts that allow you
34 to use Mathomatic with input of functions like
35 <b>sin</b><i>(x)</i> and <b>sqrt</b><i>(x)</i> automatically
36 expanded to equivalent algebraic expressions by the <b>m4</b>
37 macro preprocessor. A matching pair of parentheses is required
38 around the parameters for all functions in m4 Mathomatic; m4
39 requires this. <b>rmath</b> also runs the <b>rlwrap</b> readline
40 wrapper utility if available, to provide readline input editing
41 support similar to that provided by <a href=
42 'mathomatic.1.html'><b>mathomatic</b>(1)</a> .</p>
43
44 <p><b>rmath</b> and <b>matho</b> define and enable named math
45 functions in Mathomatic. Most functions enabled here should be
46 real number, complex number, and symbolically capable. One
47 exception is the <b>abs</b><i>(x)</i> function, which
48 doesn&rsquo;t work with complex numbers, because it is defined in
49 Mathomatic as (((x)^2)^.5).</p>
50
51 <p>The following general functions are defined when using
52 <b>rmath</b> or <b>matho:</b> <b>sqrt</b><i>(x),</i>
53 <b>cbrt</b><i>(x),</i> <b>exp</b><i>(x),</i>
54 <b>pow</b><i>(x,y),</i> <b>abs</b><i>(x),</i>
55 <b>sgn</b><i>(x),</i> <b>factorial</b><i>(x),</i>
56 <b>gamma</b><i>(x),</i> <b>floor</b><i>(x),</i>
57 <b>ceil</b><i>(x),</i> <b>int</b><i>(x),</i> and
58 <b>round</b><i>(x).</i></p>
59
60 <p>The following standard trigonometric functions are defined:
61 <b>sin</b><i>(x),</i> <b>cos</b><i>(x),</i> <b>tan</b><i>(x),</i>
62 <b>cot</b><i>(x),</i> <b>sec</b><i>(x),</i> and
63 <b>csc</b><i>(x).</i> <b>sinc</b><i>(x)</i> is the normalized
64 sinc function, defined as
65 <b>sin</b><i>(pi*x)</i><b>/(pi*x)</b><i>.</i></p>
66
67 <p>The following standard hyperbolic trigonometric functions are
68 defined: <b>sinh</b><i>(x),</i> <b>cosh</b><i>(x),</i>
69 <b>tanh</b><i>(x),</i> <b>coth</b><i>(x),</i>
70 <b>sech</b><i>(x),</i> and <b>csch</b><i>(x).</i></p>
71
72 <p>The following universal constants are defined: <i>pi,</i>
73 <i>e,</i> <i>i</i> (the imaginary unit), <i>euler</i> (the
74 Euler-Mascheroni constant), <i>omega,</i> and <i>phi</i> (the
75 golden ratio).</p>
76
77 <h2><a name='sect3' href='#toc3' id="sect3">General</a></h2>Text
78 files may be specified on the shell command line that will be
79 automatically read in through the m4 preprocessor into
80 Mathomatic. After any files are read in, Mathomatic prompts for
81 input from the console.
82
83 <p>Mathomatic is best run from within a terminal emulator. It
84 uses console line input and output for the user interface. First
85 you type in your mathematical equations in standard algebraic
86 notation, then you can solve them by typing in the variable name
87 at the prompt, or perform operations on them with simple English
88 commands. Type "help" or "?" for the help command, "help
89 examples" to get started. If the command name is longer than 4
90 letters, you only need to type in the first 4 letters. Most
91 commands operate on the current equation by default.</p>
92
93 <p>Complete documentation is available in HTML and PDF formats;
94 see the local documentation directory or online at "<a href=
95 'http://mathomatic.org/math/doc/'>http://mathomatic.org/math/doc/</a>
96 " for the latest Mathomatic documentation.</p>
97
98 <h2><a name='sect4' href='#toc4' id="sect4">Files</a></h2>
99
100 <dl>
101 <dt><b>~/.mathomaticrc</b></dt>
102
103 <dd>Optional startup file containing Mathomatic set command
104 options. It should be a text file with one or more set options
105 per line. For example, the line "no color" will make Mathomatic
106 default to non-color mode, which is useful if you aren&rsquo;t
107 using a supported color device.</dd>
108 </dl>
109
110 <h2><a name='sect5' href='#toc5' id=
111 "sect5">Author</a></h2>Mathomatic has been written by George
112 Gesslein II ([email protected]), with help from the
113 Internet community.
114
115 <h2><a name='sect6' href='#toc6' id="sect6">Reporting
116 Bugs</a></h2>Please report any bugs to the author or on the
117 Launchpad website: "<a href=
118 'https://launchpad.net/mathomatic'>https://launchpad.net/mathomatic</a>
119 ".
120
121 <h2><a name='sect7' href='#toc7' id="sect7">See
122 Also</a></h2><a href='mathomatic.1.html'><b>mathomatic</b>(1)</a>
123 , <a href='matho-primes.1.html'><b>matho-primes</b>(1)</a> ,
124 <a href='primorial.1.html'><b>primorial</b>(1)</a> , <a href=
125 'matho-mult.1.html'><b>matho-mult</b>(1)</a> , <a href=
126 'matho-sum.1.html'><b>matho-sum</b>(1)</a> , <a href=
127 'matho-pascal.1.html'><b>matho-pascal</b>(1)</a> , <a href=
128 'matho-sumsq.1.html'><b>matho-sumsq</b>(1)</a>
129 <hr>
130
131 <p><a name='toc' id="toc"><b>Table of Contents</b></a></p>
132
133 <ul>
134 <li><a name='toc0' href='#sect0' id="toc0">Name</a></li>
135
136 <li><a name='toc1' href='#sect1' id="toc1">Synopsis</a></li>
137
138 <li><a name='toc2' href='#sect2' id="toc2">Description</a></li>
139
140 <li><a name='toc3' href='#sect3' id="toc3">General</a></li>
141
142 <li><a name='toc4' href='#sect4' id="toc4">Files</a></li>
143
144 <li><a name='toc5' href='#sect5' id="toc5">Author</a></li>
145
146 <li><a name='toc6' href='#sect6' id="toc6">Reporting
147 Bugs</a></li>
148
149 <li><a name='toc7' href='#sect7' id="toc7">See Also</a></li>
150 </ul>
151 </body>
152 </html>