Let f(x)=⎧⎨⎩−1;−2≤x<0x2−1; 1≤x≤2 and g(x)=|f(x)|+f(|x|). Then, in the interval (−2,2), g is :
Let f(x) be defined in [–2,2] by f(x)={max{√4−x2,√1+x2}−2≤x≤0min{√4−x2,√1+x2}0<x≤2 . Then f(x) is