The formula for a Maclaurin series expansion is
The derivatives of the function ex and their values at x = 0 are given by
f(x) = ex f(0) = 1
f '(x) = ex f '(0) = 1
f ''(x) = ex f ''(0) = 1
f '''(x) = ex f '''(0) = 1
..................... ...............
f n(x) = ex fn(0) = 1
..................... ...............
Substituting the values of f(0), f '(0), f ''(0), ... into 1) we have