Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Incorrect result for complex integral

Not sure if this is user error: I am trying to evaluate the following integral:

f = sqrt((e^(i * t) - 1) * (e^(-i*t) - 1))
show(f.integrate(t, 0, 2 * pi))

Sagemath returns 0, but WolframAlpha returns 8. Have I mis-specified the problem, or is this a bug?