extrema piecewise[{{1,x=0},{sin(x)/x,x!=0}}] where -1<=x<=1