Plotting Piecewise Functions In Mathematical Equations