> >x+2 : x>0 > >x^3 : x<0 > > Should be entered like this: y1=(x+2)(x>0)+(x^3)(x<0) That's pretty much it I think Kasper