Let f(x)= xe^(x). Use the limit definition to compute f'(0) and find the equation of the tangent line at x=0

f(x)= xe^(x)

limit definition f'(x)= f(x+h)-f(x) / h as lim h-->0

so

f'(x) = (x+h)* (e^(x+h) - xe^(x) / h

f'(0) = (0+h)* (e^(0+h) - xe^(0) / h

= h*e(h)- 0 / h

= e^(h) = e(0) =1

So, the derivative is 1.

Is this right?