Question

\text { 7. } f(x)=\left\{\begin{array}{lr} x^{2}, & -1<x<0 \\ -x^{2}, & 0 \leq x<1 \end{array}\right.

Fig: 1