The Math Shtick
 
Deriving ex
     ex = x0/0! + x1/1! + x2/2! + x3/3! + x4/4! + x5/5! + ...

     That's the assertion, but why would we assert that? Where does it come from?

     It all comes from something called the Taylor series, which might be worth going over by itself, but to summarize, we assume that,

     f(x) = ex = c0 + c1(x-a) + c2(x-a)2 + c3(x-a)3 + ...

     Where cn represents the nth element in a sequence of constants and "a" is a constant.

     If we set x=a then we have,

     f(a) = ea = c0

     Likewise we can derive the following:

     f'(x) = c1 + 2c2(x-a) + 3c3(x-a)2 + 4c4(x-a)3 + ...
     f'(a) = ea = c1

     f''(x) = 2c2 + (2 * 3)c3(x-a) + (3 * 4)c4(x-a)2 + ...
     f''(a)/2 = ea/2 = c2

     f'''(x) = (2 * 3)c3 + (2 * 3 * 4)c4(x-a) + ...
     f'''(a)/(2 * 3) = ea/(2 * 3) = c3

     From this we can deduce,

     cn = f(n)(a)/(n!) where f(n) refers to the nth derivative of the function "f".
     cn = ea/(n!) because f(x) = ex and ex is it's own derivative.

     Using this definition for cn we can say the following:

     f(x) = ex = c0 + c1(x-a) + c2(x-a)2 + c3(x-a)3 + ...
     f(x) = ex = ea + ea(x-a) + (ea/2)(x-a)2 + (ea/(3!))(x-a)3 + ...

     This equation, of course is easiest to deal with if we use a = 0, because then x - a = x, but even more importantly ea = e0 = 1. Thus we simplify and obtain:

     f(x) = ex = 1 + x + (1/2)x2 + (1/(3!))x3 + ...
     f(x) = ex = 1 + x + x2/2 + x3/(3!) + ...

What's It Good For?
ex Calculating the Trig Functions
  Calculating xi
  Calculating ln(i)