lim(x->0)(xsinx-sinx^2)/x^4
=lim(x->0) (sinx+xcosx-2xcosx^2)/4x^3
=lim(x->0)(cosx+cosx-xsinx-2cosx^2+2x^2sinx^2)/12x^2
=lim(x->0)(-2sinx-sinx-xcosx+2xsinx^2+4xsinx^2+4x^3cosx^2)/24x
=lim(x->0)(-3cosx-cosx+xsinx+2sinx^2+2xcosx^2+4sinx^2+8x^2cosx^2+12x^2cosx^2-8x^4sinx^2)/24
=-4/24=-1/6