I am having trouble starting this problem, I am given the formula

INTEGRAL (from 0 to .5) of (sin(sqrt(x))), and asked to figure out the answer by approximation to the 5th decimal place.

I know that once I have an appropriatte N value, I can figure out the problem with the help of the trapezoidal rule. The problem I am having is figuring out N. I cannot seem to understand how you use the error test to figure out the minimum N that you need to use in order to get a problem accurate to the 5th decimal place. Any help would be great

Thanks