f2=@(x)-sin(sin(x)).*cos(x)^2-cos(sin(x)).*sin(x);

