Differentiate sin^2(cos^3(x)+tan(x)