Graphing a Piecewise Function

285 Views Asked by At

enter image description here

I graphed this function below. I want to make sure I am graphing piecewise functions such as this one correctly.

enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER

If you want to check your functions yourself, try wolfram-alpha

It is quite not pretty to plot a piecewise function there, but it is possible.

$$f(x)=Piecewise[{{x +2 ,x <= -2 }, {x^2, -2<x<1 }, {-x+2, x>= 1}}]$$

Unfortunately the circles are missing, but you already drew them right.