Davide M. answered 02/20/21
PhD in Mathematics, former UCLA Researcher: Math and Physics Tutor
This function is of the type f(x)=eg(x) where g(x)=sin(3x).
The derivative is therefore f'(x)=eg(x)g'(x) which in our cases is f'(x)=esin(3x) cos(3x)*3 where we have used the chain rule to evaluate the derivative of sin(3x). In fact, the derivative of sin(3x) is equal to cos(3x)*3.
Best,
Davide