Question: How to plot this function?

In the attached workbook I define a function that contains an if. This seems to confuse the plot function when I try to plot my function. How do I plot this function?

PlotFunctionWithI.mw

 

Thanks

Please Wait...