Define a Piecewise Expression - Maple Help

Define a Piecewise Expression

 Description Define a piecewise  expression.

Specify the expressions and their ranges, and then define the expression.

 > $f≔{\begin{array}{cc}{{x}}^{{2}}& {x}{\le }{1}\\ \frac{{\mathrm{sin}}\left({x}{-}{1}\right)}{{x}{-}{1}}& {x}{>}{1}\end{array}$
 ${f}{:=}{{}\begin{array}{cc}{{x}}^{{2}}& {x}{\le }{1}\\ \frac{{\mathrm{sin}}{}\left({x}{-}{1}\right)}{{x}{-}{1}}& {1}{<}{x}\end{array}$ (1)