how do you take the derivative of e^(x^2)?

Remember the "chain rule".

Let u(x) = x^2 du/dx = 2x
d e^(x^2)/dx = (de^u/du)(du/dx)
= 2x e^(x^2) =