f(x) is a piecewise function with three parts. For x < 0, f(x) = -x^2. For x = 0, f(x) = 0. For x > 0, f(x) = x^2.

