4. Analysis of mathematical expressions

Maple has extensive capabilities for analytical transformations of mathematical formulas. These include such operations as bringing similar, decomposing into multipliers, disclosing brackets, etc.

In Maple, you can convert both the whole expression as well as its individual parts.

Each expression is subjected to parsing, which results in the construction of the expression tree.

In the first, the root node is the type of expression, and each branch corresponds to one of the constituent expressions of members, or operands.

The node in each branch corresponds to the type of operand, since it can itself be a complex expression, and its branches define the constituent members of this member of the expression.

This process continues until it reaches the leaves of the tree representing the names of the variables or numerical constants.

The user can independently perform parsing expressions using the commands: whattype (), type (), nops () and op () .

As a result, the expression will be equal to one of the main Maple objects :

Object

Type

Subtype

Line

string

 

Name

name

symbol, indexed

Integer

integer

negint, posint, nonnegint, even, odd, prime

Fraction or rational number

rational

integer, fraction

Decimal numbers

numeric

integer, fraction

Complex numbers

complex

 

List

the list

 

Plural

Set

 

Call of function

function

 

The choice of the left or right part of the mathematical expression is carried out by the operators lhs (A = B); rhs (A = B) For numerator and denominator use numeric (expression) operators; denom (expression). To select part of the expression or list is the operator op (i, expression), where i - the number that defines the position in the expression.

The simplify () command is intended to simplify a variety of expressions that include rational fractions (algebraic expressions) containing trigonometric, reciprocal trigonometric functions, logarithms, and exponents. Maple can simplify it (or not simplify it because of complexity).

The most commonly used commands and Maple functions are located in its system core, which is constantly in the memory of the PC.

Accessibility

Font Face Font Face

Font Size Font Size

1

Text Colour Text Colour

Background Colour Background Colour

Font Kerning Font Kerning

Image Visibility Image Visibility

Letter Spacing Letter Spacing

0

Line Height Line Height

1.2

Link Highlight Link Highlight