First time here? Check out the FAQ!
answered 2024-04-01 12:14:54 +0100
FWIW :
sage: var("t") t sage: integrate(abs(exp(i*t).demoivre()-1)^2*i*exp(i*t), (t,0,pi)) -I*pi - 4
HTH,