#y =(sin x)^(e^x)#
#ln y =ln ((sin x)^(e^x) )= e^x ln (sin x)#
#1/y y' = e^x ln (sin x) + e^x (ln (sin x))'#
#(ln (sin x))' = 1/(sin x) cos x#
#\implies y' = (sin x)^(e^x) (e^x ln (sin x) + e^x 1/(sin x) cos x)#
#= (sin x)^(e^x) e^x( ln (sin x) + cot x)#