Question: Procedure plotting error

I'm trying to plot the following simple procedure with conditional check.

> t := proc (x) if 1 < x then x else x+1 end if end proc;
print(`output redirected...`); # input placeholder
proc(x) ... end;
> plot(f(x), x = -1 .. 4);
Error, (in t) cannot determine if this expression is true or false: 1 < x

I get this error. Any thoughts?


Please Wait...