Integrate[(tanh(x)+coth(x)) dx, A, B]