kill(all)$

van=facebook.com/LearningCalculus$

f(x):=sin(x)^2*cos(x)/(sin(x)+cos(x));

F(x):=''(logcontract(trigsimp(integrate(f(x),x))))+C;