~ubuntu-branches/ubuntu/natty/mathomatic/natty

« back to all changes in this revision

Viewing changes to doc/am.html

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2010-05-27 23:29:55 UTC
  • mfrom: (1.1.26 upstream) (3.1.15 sid)
  • Revision ID: james.westby@ubuntu.com-20100527232955-xzvvnwdzy8c9mdji
Tags: 15.1.1-1
* New upstream release
* debian/patches/10_fix_makefile.dpatch
  - updated to new upstream code
* debian/patches/30_bts-459093_ftbfs_make_test_time.dpatch
  - updated to new upstream code

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<meta name="description" content="The Command Reference Manual for the Mathomatic computer algebra system.">
9
9
<meta name="author" content="George Gesslein II">
10
10
 
11
 
<link rel="home" href="http://mathomatic.org">
 
11
<link rel="home" href="http://www.mathomatic.org">
12
12
<link rel="toc" href="index.html">
13
13
<link rel="author" href="http://www.google.com/profiles/georgegesslein">
14
14
<link rel="copyright" href="http://www.opensource.org/licenses/lgpl-2.1.php">
15
15
<link rel="previous" href="manual.html">
16
16
<link rel="next" href="mathomatic.1.html">
17
17
<link rel="icon" href="favicon.ico" type="image/x-icon">
18
 
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
 
18
 
19
19
<link rel="stylesheet" type="text/css" href="doc.css">
20
20
</head>
21
21
 
146
146
<p>
147
147
<b>LHS</b> is shorthand for the Left-Hand Side of an equation.
148
148
Similarly, <b>RHS</b> used here always means the Right-Hand Side.
 
149
<p>
149
150
In this document, text enclosed by straight brackets <b>[like this]</b> means
150
151
it is optional and may be omitted.
 
152
The word "expression" always means a mathematical expression or formula.
151
153
<p>
152
154
At the Mathomatic main prompt, you may enter:
153
155
 
247
249
Mathomatic can solve symbolic equations for any <b>variable</b> or for <b>zero</b>.
248
250
Solving is accomplished internally by applying identical
249
251
mathematical operations to both sides of the equation and simplifying
250
 
or by plugging the coefficients into the quadratic equation.
 
252
or by plugging the general coefficients into the quadratic equation.
251
253
The Mathomatic solve algorithm is the best possible for general algebra,
252
254
however the result is not verified by plugging the solutions into the original equation,
253
255
this can be done automatically with the "<a href="#solve">solve</a> verify" command.
567
569
If the width (number of columns) required for this 2D display exceeds the screen width,
568
570
the expression is displayed instead in single-line format
569
571
by the <a href="#list">list command</a>.
570
 
The screen width is set by the "<a href="#set">set</a> columns" option.
 
572
The screen width is set automatically on startup,
 
573
or by the "<a href="#set">set</a> columns" option.
571
574
<p>
572
575
Non-integer constants are converted to reduced fractions,
573
576
if they are exactly equal to a simple fraction and it would improve readability.
959
962
<p>
960
963
Syntax: <b>imaginary [variable]</b>
961
964
<p>
962
 
This command copies the imaginary part of a complex expression to the
 
965
This command copies the imaginary part of a <a href="manual.html#complex">complex number expression</a> to the
963
966
next available equation space.
964
967
If the current expression or RHS of the current equation is not complex,
965
 
it will tell you and abort.
966
 
A complex expression contains both imaginary and real parts.
967
 
To copy the real part, see the <a href="#real">real command</a>.
 
968
the warning message "Expression is not a mix" will be displayed.
 
969
A complex number expression contains both imaginary and real number parts.
 
970
To copy only the real number part, see the <a href="#real">real command</a>.
968
971
<p>
969
 
The separation <b>variable</b> may be specified on the command line, the default is <b>i#</b>.
 
972
The separation <b>variable</b> may be specified on the command line,
 
973
the default is the imaginary unit <b>i#</b>.
970
974
<b>i#</b> is really a mathematical constant equal to the square root of -1,
971
975
but it can often be specified where variables are required in Mathomatic.
972
976
<p>
973
 
If successful, the result will contain one or more of <b>i#</b> or the specified separation <b>variable</b>.
 
977
If successful, the result may contain the imaginary unit <b>i#</b>
 
978
or the specified separation <b>variable</b>.
974
979
 
975
980
<pre class="sample">
976
981
1&mdash;&gt; (a+b*i#)/(c+d*i#)
1138
1143
"list maxima" is for making output compatible 
1139
1144
with the free computer algebra system <a href="http://wxmaxima.sourceforge.net">Maxima</a>.
1140
1145
<p>
1141
 
"list gnuplot" is for making expression output that is compatible with Gnuplot.
 
1146
"list gnuplot" is for making expression output that is compatible
 
1147
with the free graphing utility <a href="http://gnuplot.sourceforge.net">Gnuplot</a>.
1142
1148
<p>
1143
1149
The list command simply outputs expressions and equations as stored internally by Mathomatic.
1144
1150
There is no simplification and nothing more is done.
1269
1275
Syntax: <b>plot [expression]</b>
1270
1276
<p>
1271
1277
This command automatically plots the given mathematical <b>expression</b> in 2D or 3D with
1272
 
<a href="http://gnuplot.sourceforge.net">Gnuplot</a>.
 
1278
the free graphing utility <a href="http://gnuplot.sourceforge.net">Gnuplot</a>.
1273
1279
If no expression is given, the current equation is plotted.
1274
1280
The expression must contain the variable <b>x</b> to be successfully plotted.
1275
1281
If it also contains the variable <b>y</b>, a 3D surface plot is performed
1277
1283
on your 2D display.
1278
1284
<p>
1279
1285
Plotting of an equation space with the imaginary number <b>i#</b> in it is allowed,
1280
 
however plots are always plotted on real Cartesian space, showing only real points.
1281
 
If there are no real points, the plot will fail.
 
1286
however plots are always plotted on real Cartesian space, showing only real number points.
 
1287
If there are no real number points, the plot will fail.
1282
1288
<p>
1283
1289
Gnuplot must be installed and accessible from shell by typing "gnuplot"
1284
1290
for this command to work.
1377
1383
<p>
1378
1384
Syntax: <b>real [variable]</b>
1379
1385
<p>
1380
 
This command copies the real part of a complex expression to the
 
1386
This command copies the real part of a <a href="manual.html#complex">complex number expression</a> to the
1381
1387
next available equation space.
1382
1388
If the current expression or RHS of the current equation is not complex,
1383
 
it will tell you and abort.
1384
 
A complex expression contains both imaginary and real parts.
1385
 
To copy the imaginary part, see the
 
1389
the warning message "Expression is not a mix" will be displayed.
 
1390
A complex number expression contains both imaginary and real number parts.
 
1391
To copy only the imaginary number part, see the
1386
1392
<a href="#imaginary">imaginary command</a>.
1387
1393
<p>
1388
 
The separation <b>variable</b> may be specified on the command line, the default is <b>i#</b>.
 
1394
The separation <b>variable</b> may be specified on the command line,
 
1395
the default is the imaginary unit <b>i#</b>.
1389
1396
<p>
1390
1397
There will be no imaginary numbers in the result.
1391
1398
 
1589
1596
"set no columns" or "set columns=0" does no checking for screen size and always
1590
1597
displays in fraction format, which is useful for terminals that don't wrap lines.
1591
1598
In most cases, this value is set automatically on startup.
1592
 
This value only affects 2D output.
 
1599
This value only affects 2D expression output.
1593
1600
<p>
1594
1601
"set <b>wide</b>" sets the number of screen columns
1595
1602
(like "set columns=0" above does) and screen rows to 0,
1598
1605
on a terminal with line wrap.
1599
1606
Setting this option is useful if you are not using a terminal that wraps lines.
1600
1607
<p>
1601
 
"set no <b>display2d</b>" will set the display mode to single-line format (one dimensional)
 
1608
"set no <b>display2d</b>" will set the expression
 
1609
display mode to single-line format (one dimensional)
1602
1610
using the <a href="#list">list command</a>,
1603
1611
instead of the default fraction format (two dimensional)
1604
1612
using the <a href="#display">display command</a>.
1607
1615
"set no <b>prompt</b>" turns off Mathomatic prompt output,
1608
1616
exactly like the <b>-q</b> (quiet mode) option does.
1609
1617
<p>
1610
 
"set <b>html</b>" turns on HTML output mode.
1611
 
<p>
1612
1618
"set <b>preserve</b>" will set "preserve_surds" mode, which suppresses approximation
1613
1619
of real roots of real rational numbers, if the result will be irrational.
1614
1620
A surd is a quantity which can not be expressed by rational numbers.
1980
1986
 
1981
1987
<hr>
1982
1988
<span class="left"><a href="index.html">Up to the documentation index</a></span>
1983
 
<span class="right"><a href="http://mathomatic.org"><img src="mathomatic16x16.png" alt="Mathomatic icon"> mathomatic.org</a></span>
 
1989
<span class="right"><a href="http://www.mathomatic.org"><img src="mathomatic16x16.png" alt="Mathomatic icon"> www.mathomatic.org</a></span>
1984
1990
 
1985
1991
</body>
1986
1992
</html>