William W. answered 09/28/19
Experienced Tutor and Retired Engineer
Just use the product rule twice to find the second derivative and 3 times to find the third derivative.
The product rule: where f(x) = u•v then f' = u'•v + u•v' and u = ex and v = sin(x) so u' = ex and v' = cos(x) meaning f' = exsin(x) + excos(x), Do it again to find the second derivative:
f'' = [exsin(x) + excos(x)] + [excos(x) - exsin(x)] = 2excos(x)
f''' = 2excos(x) - 2exsin(x) = 2ex[cos(x) - sin(x)]