simple - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MTM

  

simple

  

apply simplification rules

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

simple(A)

e, h := simple(A)

Parameters

A

-

expression, array of expressions

e

-

variable

h

-

variable

Description

• 

For an expression A, the function simple(A) will apply simplification rules to A, and return the resulting expression.

• 

For an array A, the function simple(A) will return an array R with the same dimensions as A. For each element e of A, the corresponding element in R will have the value simple(e).

• 

If the call is assigned to two variables, e and h, then e is assigned the simplified expression or array of expressions, and h is assigned a string representing the simplification method used.  Currently, simplify is the only simplification method used.

Examples

withMTM:

A412+3

A4+3

(1)

simpleA

5

(2)

e,hsimpleA

e,h5,simplify

(3)

Bexpa+lnbexpc

Bⅇa+lnbⅇc

(4)

Csinx2+ln2x+cosx2

Csinx2+ln2x+cosx2

(5)

Ecosx5+sinx4+2cosx22sinx2cos2x

Ecosx5+sinx4+2cosx22sinx2cos2x

(6)

simpleArrayA,B,C,E

5bⅇc+aln2+lnx+1cosx4cosx+1

(7)

See Also

MTM[collect]

MTM[expand]

MTM[factor]

MTM[log]

MTM[simplify]