<!-- manual page source format generated by PolyglotMan v3.2, --> <!-- available at http://polyglotman.sourceforge.net/ --> <html> <head> <title>RMATH(1) manual page</title> </head> <body bgcolor='white'> <a href='#toc'>Table of Contents</a><p> <p> <h2><a name='sect0' href='#toc0'>Name</a></h2> rmath - a computer algebra system with functions and readline <br> matho - a computer algebra system with functions <p> <h2><a name='sect1' href='#toc1'>Synopsis</a></h2> <b>rmath</b> [ input_files ] <br> <b>matho</b> [ input_files ] <p> <h2><a name='sect2' href='#toc2'>Description</a></h2> 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 <a href='gnuplot.1.html'><b>gnuplot</b>(1)</a> is also supported. <p> <b>rmath</b> and <b>matho</b> are shell scripts that allow you to use Mathomatic with input of functions like <b>sin</b><i>(x)</i> and <b>sqrt</b><i>(x)</i> automatically expanded to equivalent algebraic expressions by the <a href='m4.1.html'><b>m4</b>(1)</a> macro preprocessor. Additionally, <b>rmath</b> runs the <a href='rlwrap.1.html'><b>rlwrap</b>(1)</a> program to provide readline input editing support. <p> The following general functions are defined when using <b>rmath</b> or <b>matho:</b> <b>sqrt</b><i>(x),</i> <b>cbrt</b><i>(x),</i> <b>exp</b><i>(x),</i> <b>pow</b><i>(x,y),</i> <b>abs</b><i>(x),</i> <b>sgn</b><i>(x),</i> <b>gamma</b><i>(x),</i> <b>floor</b><i>(x),</i> <b>ceil</b><i>(x),</i> <b>int</b><i>(x),</i> and <b>round</b><i>(x).</i> <p> The following standard trigonometric functions are defined: <b>sin</b><i>(x),</i> <b>cos</b><i>(x),</i> <b>tan</b><i>(x),</i> <b>cot</b><i>(x),</i> <b>sec</b><i>(x),</i> and <b>csc</b><i>(x).</i> <p> The following hyperbolic trigonometric functions are defined: <b>sinh</b><i>(x),</i> <b>cosh</b><i>(x),</i> <b>tanh</b><i>(x),</i> <b>coth</b><i>(x),</i> <b>sech</b><i>(x),</i> and <b>csch</b><i>(x).</i> <p> The following named binary operators are defined: <b>mod</b> for modulus. <p> The following universal constants are defined: <i>pi,</i> <i>e,</i> <i>i</i> (the imaginary unit), <i>euler,</i> <i>omega,</i> and <i>phi</i> (the golden ratio). <p> <h2><a name='sect3' href='#toc3'>General</a></h2> 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. <p> 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. <p> Complete documentation is available in HTML and PDF formats; see the local documentation directory or online at "<a href='http://mathomatic.org/math/doc/'>http://mathomatic.org/math/doc/</a> " for the latest Mathomatic documentation. <p> <h2><a name='sect4' href='#toc4'>Files</a></h2> <dl> <dt><b>~/.mathomaticrc</b> </dt> <dd>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. <p> </dd> </dl> <h2><a name='sect5' href='#toc5'>Author</a></h2> 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. <p> <h2><a name='sect6' href='#toc6'>Reporting Bugs</a></h2> Please report any bugs to the author or on the Launchpad website: "<a href='https://launchpad.net/mathomatic'>https://launchpad.net/mathomatic</a> ". <p> <h2><a name='sect7' href='#toc7'>See Also</a></h2> <a href='mathomatic.1.html'><b>mathomatic</b>(1)</a> , <a href='matho-primes.1.html'><b>matho-primes</b>(1)</a> , <a href='primorial.1.html'><b>primorial</b>(1)</a> , <a href='matho-mult.1.html'><b>matho-mult</b>(1)</a> , <a href='matho-sum.1.html'><b>matho-sum</b>(1)</a> , <a href='matho-pascal.1.html'><b>matho-pascal</b>(1)</a> , <a href='matho-sumsq.1.html'><b>matho-sumsq</b>(1)</a> <p> <hr><p> <a name='toc'><b>Table of Contents</b></a><p> <ul> <li><a name='toc0' href='#sect0'>Name</a></li> <li><a name='toc1' href='#sect1'>Synopsis</a></li> <li><a name='toc2' href='#sect2'>Description</a></li> <li><a name='toc3' href='#sect3'>General</a></li> <li><a name='toc4' href='#sect4'>Files</a></li> <li><a name='toc5' href='#sect5'>Author</a></li> <li><a name='toc6' href='#sect6'>Reporting Bugs</a></li> <li><a name='toc7' href='#sect7'>See Also</a></li> </ul> </body> </html>