integral of sqrt(1 + a sin x) from x = 0 to 2pi