Question: The process simplify is not that in a reference book

proc(x) local t;
 t := x*x*x + 0*2;
 if true then sqrt(t); else t^2 end if;
 end proc;
proc(x) local

in maple 13,the result is

proc (x) local t; t := x*x*x; sqrt(t) end proc

not the simplified proc(x) local t; t := x^3 ; sqrt(t) end proc

 (this is in the reference book)

 

Please Wait...