Ask Your Question

rbeezer's profile - activity

2013-02-20 14:48:15 +0200 received badge  Good Answer (source)
2012-10-22 16:52:01 +0200 received badge  Nice Answer (source)
2012-10-17 09:07:19 +0200 received badge  Teacher (source)
2012-10-17 09:07:19 +0200 received badge  Necromancer (source)
2012-10-16 23:49:41 +0200 answered a question shift picewise functions

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)