kill(all)$ load(ntrig)$ load(atrig1)$

Van =  facebook.com/LearningCalculus;  2015$

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

trigsimp(integrate(f(x),x))+C;