Maxima use detailed

Source: Internet
Author: User
Keywords tags can functions time
Tags aliyun computer computer algebra computer algebra system etc free software function functions

Maxima is a computer algebra system written in Lisp (Computer algebra system) for formula derivation, symbolic calculation, numerical calculation, etc., it is a set of http://www.aliyun.com/zixun/aggregation/ 29607.html "> Free software, issued under the GNU General Public License.

The predecessor of Maxima was Doe-macsyma. Doe-macsyma is a CAS created in the late 60 by the Massachusetts Institute of Energy (MIT) with the support of the DOE, which is implemented in LISP. Macsyma was a very innovative software at the time. Now the popular commercial computer algebra system software maple and Mathematica, are inspired by the Macsyma design. MIT 1982 years decided to turn Macsyma into a closed source program, Macsyma on the road to commercialization, so produced a lot of macsyma branches.

Run Maxma in Linux, type

Maxima < return >

The computer will display the following welcome words:

Distributed under the GNU public License. The file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function Bug_report ()
Provides bug reporting information.
(%I1)

Here (%I1) is a "label". Each input or output line is labeled with a label, and each row can be invoked through the label in subsequent sessions. The label I represents the line is the command you entered, and the label o represents the response of the behavior machine. Never try to use a variable name like%I1 or%O5, which will be confused with the row that takes the label. Maxima is sensitive to character capitalization. The function names for all built-in functions are lowercase (sin, cos, save, load, etc.). The built-in constants are in lowercase form (%e,%PI, INF, etc.). If you type sin (x) or sin (x), Maxima that you refer to other functions instead of the built-in sin function. User-defined functions and variables can take the form of uppercase or lowercase. Foo (XY), foo (XY), foo (XY) is a different function.

Special keys and symbols

To end a Maxima session, type Quit ();.
To terminate the calculation without exiting Maxima, type ^c. (here ^ represents the CTRL key, so ^c means to hold down the CTRL key and then press C.) Knowing this is important to you in some cases, such as when a calculation takes too long. Examples are as follows:
(%I1) sum (1/x^2, x, 1, 10000);

Maxima encountered a Lisp error:

Console interrupt.

Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
(%I2)

1, to tell Maxima you have completed the command input, type a semicolon (;) and enter. Note that a single carriage return does not represent the end of the input.
2, another can replace the semicolon (;) The Terminator is a dollar sign ($), and it can cancel the display of the MAXIMA calculation, which is useful when you are doing a calculation that has a long result and you don't want to waste time showing the results.
3, if you want to repeat a command you have given, for example, in (%I5) line, you can add two single quotes (") before the above line number to avoid typing again, for example,%i5. (Note that simply typing%I5 does not do that--try it.) )
4, if you want to refer to the results of the Maxima in the previous step, you can use its o tag, you can also use a special percent semicolon (%).
5, the standard amount E (base of natural logarithm), I (-1 square root) and P (3.14159?) are respectively expressed as%e,%i, and%pi. Note that this% is used only as a prefix and is completely unrelated to the use of% to query previous computed results.
6. In order to assign a value to a variable, Maxima uses a colon (:) instead of an equal sign. An equal sign is used to represent an equation or an equation.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.