Am I doing this one correct. Wolfram Alpha says otherwise but I'm not sure where I go wrong:
$$y = x^{\sin (x)}$$
Wolfram alpha says the derivative is:
$$y'(x) = x^{(\sin(x) - 1)} \cdot (\sin(x) + x \cdot \log(x) \cdot \cos(x))$$
But here are my calcs:
$$\ln y = \sin(x) \cdot \ln(x)$$
$$\frac{1}{y} \cdot \frac{dy}{dx} = \frac{\sin(x)}{x} + \ln(x)\cos(x)$$
$$\frac{dy}{dx} = x^{\sin(x)} \cdot \left(\frac{\sin(x)}{x} + \ln(x)\cos(x)\right)$$
You have the same answer since
$$x^{\sin(x)}\left(\frac{\sin(x)}{x}+\cos(x)\log(x)\right)=x^{\sin(x)-1}\left(\sin(x)+x\log(x)\cos(x)\right)$$ multiply the bracket by $x$ and $x^{\sin(x)}$ by $\frac1x$