This question was asked in Ex 3.2, 8
Derevative of Sin(x^x) with respect to x

Suman Rawat's image