
Doug C. answered 10/15/23
Math Tutor with Reputation to make difficult concepts understandable
To find f'(x) use the product rule and the chain rule.
f'(x) = eax(-sin(bx))(b) + cos(bx)eax(a)
= eax(acos(bx) - bsin(bx)]
Here is a Desmos graph for confirmation along with a sliding point on f(x) that uses f'(x) to generate the equation of the tangent line at that sliding point.
desmos.com/calculator/axdt0f1ypa