There are a variety of numerical methods of integration (trapezoid rule, simpson's rule, etc.) and the accuracy, with a given number of partitions, depends strongly on which method you are using! Which method are you using and wasn't there a formula for the error given with it?