combine/piecewise
apply combine to piecewise functions
Calling Sequence
Parameters
Description
Examples
combine(f, piecewise)
combine(f)
f
-
any expression
The combine function is applied to the arguments of a piecewise function.
To make a single piecewise expression out of two, use convert(expr, piecewise, var).
combinepiecewise0<x,cosx2+sinx2,expx2expy
ⅇ2x+yx≤010<x
combinepiecewisex<1,expxexp−2x,3<x,4sinx3
ⅇ−xx<10x≤3−sin3x+3sinx3<x
See Also
convert[piecewise]
piecewise
Download Help Document