Most of the functions we look at in high school math are continuous everywhere they are defined. But not always. Graphing piecewise functions with software requires defining the function on distinct intervals. Grapher (on the Mac) provides a nice facility for this, as does desmos.

Download this sample Grapher file to try it out. This is a sample from a calculus test.

If you have trouble with the Grapher file, here are the equations:

Click on the desmos graphic below to see how it can be done online: