plot 1-e^(-x) from 0 to 10