怎么在mathematica4画分段函数.

问题描述:

怎么在mathematica4画分段函数.
{x-1 x>=1
y={x^2 -1=

f[x_] = Piecewise[{{x - 1,x >= 1},{x^2,-1