simplify/piecewise - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Algebra : Expression Manipulation : Simplifying : simplify/piecewise

simplify/piecewise

simplify piecewise expressions

 

Calling Sequence

Parameters

Description

Examples

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

Aconvertx,piecewise

A:=&lcub;xx<0x0x

(1)

simplifyAA

x2

(2)

Bpiecewisex24<0&comma;x&comma;xx

B:=&lcub;xx2<4x2otherwise

(3)

simplifyBpiecewise3<x&comma;0&comma;1

&lcub;x21x2x1x<2x21x3x23<x

(4)

`simplify/piecewise`piecewise0<x&comma;a&comma;b2&comma;x

&lcub;b2x0a20<x

(5)

See Also

convert[piecewise]

piecewise

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam