The domain of the function is [-2, 2].
