simplify/piecewise - simplify piecewise expressions
|
Calling Sequence
|
|
simplify(expr)
simplify(expr, piecewise)
`simplify/piecewise`(expr, var)
|
|
Parameters
|
|
expr
|
-
|
any expression
|
piecewise
|
-
|
(optional) literal name; piecewise
|
var
|
-
|
variable
|
|
|
|
|
Description
|
|
•
|
The simplify/piecewise command can simplify expressions with piecewise functions of one variable. If the expression contains more than one variable use the convert(expr, piecewise, var) calling sequence or the long form `simplify/piecewise`(expr, var).
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?