Question: Plotting of piecewise continuous function

AOA... I wan to plot the following piecewise function

 

f := x^2+1         if x belongs to (0,1)

f := x-x^2          if x belongs to (1,2)

f := x+1-x^2       if x belongs to (2,3)

Please Wait...