The lower limit of the integral is -∞, since √n - √(n + 1) ≤ -1 for all n, and

and the sum on the right is a divergent p-series.
The upper limit of the integral is ln(2). Recall that for |x| < 1,

Integrating both sides gives

When x = 0, it follows that C = 0. As x → -1 from above, we find

The limit in the integrand is e, since

where we replace n = eᵗ, so both n and t → ∞.
The derivative in the exponent of the integrand is

So, the original expression simplifies significantly to

The remaining integral is trivial:

and so the expression has a value of 2² = 4.