Not sure if this is user error: I am trying to evaluate the following integral:
var('t')
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?