Let
f(x)={−x−3if x≤1,x2+1if x>1.
Find the sum of all values of x such that $f(x) = 0$.
The sum of all values of x such that f(x) = 0 is -3/2.