2 / | | -a*x | a*E dx | / 1
Integral(a*E^((-a)*x), (x, 1, 2))
/ // x for a = 0\
| || |
| -a*x || -a*x |
| a*E dx = C + a*|<-e |
| ||------- otherwise|
/ || a |
\\ /
-2*a -a - e + e
=
-2*a -a - e + e
-exp(-2*a) + exp(-a)
Use the examples entering the upper and lower limits of integration.