van=facebook.com/LearningCalculus$

f(x):=x^2/(1+sin(x))$
f(0);
f(%pi);

F:integrate(f(x),x,0,%pi);

logcontract(factor(F));

/* wolframalpha.com/input/?i=4*i*Li_2%28i%29-4*i*Li_2%28-i%29 */;

C: 0.915965594177219015054603514932384110774$

%pi*(%pi+log(4))-8*C; /* Catalan's Constant */

float(%);