The other possibility is that we start off saying "we ought to have an answer accurate to within (say) 0.01 of the actual answer." In this case, we can figure out approximately how large n will have to be just by doing two numerical calculations and knowing how the error for the numerical method changes with increasing n. Let's do an example: suppose we use Simpson's rule, for which error drops like n4, with n=10 find the value of the integral is 0.613 and with n=50 that it's 0.638. If the error in the first calculation is E, then the error in the second ought to be E/54, and adding the respective errors to both should give the actual value of the integral: