Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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,