First time here? Check out the FAQ!
answered 2012-10-16 23:49:41 +0100
The following works as expected:
f1(x)=0 f2(x)=exp(-1/(x^2)) f=Piecewise([[(-10,0),f1],[(0,10),f2]]) h(x)=x-2 c = compose(f, h) plot(c, -8, 12)