integral of sqrt(2 - e^(i * t) - e^(-i * t)) dt from t = 0 to 2 * pi