plot 1-exp(-x) from x=0 to x=5