Well, really there is no easy way. Here is some reading on it: http://math.stackexchange.com/questions/141347/finding-int-xxdx
You can ask a new question or answer this question.