I am trying to evaluate:
$$\int_0^{10} \operatorname{sn}(x\mid i) \, dx$$
where $\operatorname{sn}$ denotes the Jacobi elliptic function sn.
The indefinite integral is:
$$(-1)^{3/4} \tanh ^{-1}\left(\sqrt[4]{-1} \operatorname{cd}(x\mid i)\right).$$
But I cannot substitute the limits to compute the definite integral because there is a discontinuity (of the indefinite integral) along the path around $x=7.07$. The definite integral can be computed if the point of discontinuity can be determined analytically.