Evaluating an integral