integral of cos(1/(sqrt(1/(2+cosh(x)-sinh(x))))) from 0 to x