MTM
simple
apply simplification rules
Calling Sequence
Parameters
Description
Examples
simple(A)
e, h := simple(A)
A
-
expression, array of expressions
e
variable
h
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.
withMTM:
A≔412+3
A≔4+3
simpleA
5
e,h≔simpleA
e,h≔5,simplify
B≔expa+lnbexpc
B≔ⅇa+lnbⅇc
C≔sinx2+ln2x+cosx2
E≔cosx5+sinx4+2cosx2−2sinx2−cos2x
simpleArrayA,B,C,E
5bⅇc+aln2+lnx+1cosx4cosx+1
See Also
MTM[collect]
MTM[expand]
MTM[factor]
MTM[log]
MTM[simplify]
Download Help Document